News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to use the debugger efficiently?

Started by Larek Robinson, March 31, 2011, 03:18:50 PM

Previous topic - Next topic

Larek Robinson

MMkay, so I have a program that I want to debug. I know you have to put the source file in a project, so that you can debug it, and I've done so. The one thing I dont understand is how to interpret what the debugging info spits back out. I get thinks like:

Breakpoint 4, main () at F:\_Other\DEBUG\New Folder\TITLE\main.cpp:43
F:\_Other\DEBUG\New Folder\TITLE\main.cpp:43:706:beg:0x4013ae
At F:\_Other\DEBUG\New Folder\TITLE\main.cpp:43


and I don't understand it. I remember using the C::B debugger once and that it told you what was going on, and was a little clearer than what I see above, but I don't understand what I'm looking at. Can someone tell me how to interpret that mumbo-jumbo or how to make the debugger a little clearer?

Thanks,
Larek

P.S. I use version 10.05

oBFusCATed

You set breakpoints and then you debug -> start, then you use step/step into and the various windows to inspect your program.
What is the real problem?
Have you debugged something before?

p.s. try debugger's branch nightly if you need a better working debugger.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]