Author Topic: Debugger breakpoints don't go away  (Read 3337 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5179
Debugger breakpoints don't go away
« on: January 14, 2006, 06:13:04 pm »
This is what I did and do to reproduce (rev 1754)

Pre steps : have CB compiled (and done the update step ..)

Start CB (from output) load the cb project, have cbeditor.cpp open, put a breakpoint on the first line of the function cbEditor::SetProjectFile (for exampl on thet fist if test). Start debugger, launches Cb second time), open in this debug CB a project (for example Keybinder plug-in project), click in it's  project tree on cbkeybinder.cpp -> you end up at th breakpoint,  continue debuggin, you end up there a second time, continue debugiing. --> In the debug CB the file has opened now. In the first CB remove the breakpoint we hve put, click on the red dot in the gutter -> red dot is gone now, inthe debug CB double click on keybinder.cpp in the projct tree -----> we end up again at our 'removed' breakpoint.

Lieven

Offline 280Z28

  • Regular
  • ***
  • Posts: 397
  • *insert unicode here*
Re: Debugger breakpoints don't go away
« Reply #1 on: January 14, 2006, 07:20:57 pm »
It doesn't like sending commands to gdb while the program is actively running. I'm pretty sure the plugin's creator knows about this issue and maybe a few others. Here are the things I'd like to it able to send to gdb at any point while the debugger is active:

Set breakpoint
Clear breakpoint
HALT = Ctrl+C, stop exactly where the program is so you can run a backtrace on it and see, for example, what part of the program you are in while C::B gui froze up for a sec.

78 280Z, "a few bolt-ons" - [email protected]
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
 Check out The Sam Zone :cool: