Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Debugger sometimes doesn't delete breakpoints

(1/5) > >>

280Z28:
I don't know how reliably this can be repeated. Can anyone else?

Steps:
Debug C::B
Set breakpoint at parser.cpp:899


--- Code: ---if ((event.GetInt() == 0 && !m_Options.followLocalIncludes) ||
--- End code ---

Run
When it breaks, click twice pretty quickly on line 904.

Actual result:
Sets the breakpoint, but does not clear it. GDB still has a breakpoint there, but it is no longer marked in the editor and can't be deleted from then on. :(

Expected result: Set a new breakpoint and clear it.

lesnewell:
I don't know if it is related to your problem but try this:

Put a breakpoint in a file. Run GDB and check it stops at the breakpoint. Stop GDB and edit the file, adding a few lines or removing a few lines before the breakpoint. Now delete the breakpoint. Run GDB and you will often find there is still a breakpoint there although you can't see one in the editor.

As an aside, how about having a 'delete all breakpoints' function?

Les

mandrav:

--- Quote from: lesnewell on January 02, 2006, 05:59:48 pm ---As an aside, how about having a 'delete all breakpoints' function?

--- End quote ---

Try "Debug->Breakpoints->Remove all" :)

As for the other problems mentioned, I 'm aware of some bugs with the breakpoints and I will work on them on the next few days.

lesnewell:

--- Quote from: mandrav on January 02, 2006, 06:15:05 pm ---Try "Debug->Breakpoints->Remove all" :)

--- End quote ---

Well, er, that would do the trick  :oops:
Time for new glasses...

Les

theven:
This behavior is in svn8647, gdb linux 64bit.

Reseting, removing breakpoint, "Debug->Breakpoints->Remove all", restarting CB, restarting system, moving, shifting and breaking line do not help. "Breakpoints" window does not contain this point.

How to fix this or clear all gdb data manually?

Navigation

[0] Message Index

[#] Next page

Go to full version