I'm a CS student, so I'm still fairly new to programming. Breakpoints seemed pretty darn cool and useful to debugging, so I decided to play around with them a bit. Unfortunately, I don't really know how to work with them. I added a breakpoint to "Log breakpoint and arguments and auto-continue". The program reached the breakpoint, the debugger console spat out some stuff, but then when the program tries to ask for user input, I see a light-blue (gdb)
at the end. When I press enter, nothing happens to indicate the program received the input. What am I supposed to do here?
views:
40answers:
1Wow. Thanks so much! I never knew there were so many useful tools to debugging
wrongusername
2010-09-05 22:20:17
Oh, btw, to answer my own question, you need to pull up the debugging window with command-shift-y and press "Step over" once it reaches the breakpoint (when the program asks for input). But watch the videos. They're really useful, and you miss out on a lot if you don't.
wrongusername
2010-09-05 22:34:24
@camilin87 Thanks once again! The stuff in that video has greatly improved my debugging. It's actually fun now :)
wrongusername
2010-09-06 03:51:47