cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
gdb question..
gdb question..
Apr 15, 2011 at 6:36am UTC
desreguard
(8)
Is there any way to get gdb to run from a certain line of code or do you always have to start from the begining?
Apr 15, 2011 at 1:43pm UTC
kooth
(746)
One easy way is to set a break point where you want to start debugging and let it run. Also, try "man gdb."
Apr 18, 2011 at 6:39am UTC
talentspsp
(5)
Do you mean you want to insert break point to a certain line? You can do
b number-of the-line
Or
b name-of-the-function-you-want-to-stop
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
Topic archived. No new replies allowed.