Author Topic: How to use the debugger efficiently?  (Read 4087 times)

Offline Larek Robinson

  • Single posting newcomer
  • *
  • Posts: 9
How to use the debugger efficiently?
« on: March 31, 2011, 03:18:50 pm »
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:

Code
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: How to use the debugger efficiently?
« Reply #1 on: March 31, 2011, 03:27:44 pm »
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!]