User forums > Using Code::Blocks
Linux: gdb ignores removed breakpoints
tigerbeard:
Update:
I found the cause of the problem, see Ticket174
The cause was the Settigns/Debugger/GDB/Init commands text box. When more than a single line is entered the breakpoint parsing gets out of pace and the pre-set breakpoints are not recoginzed any more.
There is an easy way to see if a breakpoint is broken: in the breakpoint windows it showns the index -1.
The breakpoint can not be deleted, because GDB lists it under a differnt Index number. It can be deleted from the the Debugger Window command line e,g,
--- Code: --- info break # find the correct number from the list
delete break 1
info break # verify its gone
--- End code ---
I have added the hotfix I use in my own system in the ticket, but its not very good because sometimes some breakpoints still have the -1 index. For a final fix a better aproach is required. It may help to trace down the issue, however.
Navigation
[0] Message Index
[*] Previous page
Go to full version