6

enter image description here

In the picture, I have set two breakpoints, and the breakpoint marks are displayed as two small balls with backslashes, rather than just two small balls.

Why is it? and how to resolve this issue?

xmllmx
  • 39,765
  • 26
  • 162
  • 323

1 Answers1

9

It should be similar to this annotation:

diagonal line through breakpoint: all breakpoints have been disabled (button skip all breakpoints in breakpoint view)

See "Skip All Breakpoints".

Also visible in PyDev (so not specific to CDT):

https://i.stack.imgur.com/bgVeq.png

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Why are the breakpoints still enabled and can be hit even they are marked as "skipped all breakpoints"? – xmllmx Jun 25 '14 at 05:52
  • @xmllmx because they are not disabled, they are only skipped. – VonC Jun 25 '14 at 05:56
  • What does it mean by "skipped"? When I debug this program, it will still break on all the breakpoints. If they are skipped, then they cannot be hit. However, they are indeed hit! – xmllmx Jun 25 '14 at 05:58
  • @xmllmx is the button "skip all breakpoints" pushed in the Breakpoints view? – VonC Jun 25 '14 at 06:04
  • @xmllmx did you activated tracepoints instead of breakpoints? (http://wiki.eclipse.org/CDT/User/FAQ#How_can_I_trace_my_application_using_C.2FC.2B.2B_Tracepoints.3F) – VonC Jun 25 '14 at 06:07
  • @xmllmx And if you unset the skip all breakpoints (no more crossed-lines), and re-enable that button, would those breakpoints now be actually skipped? Or would your program still stops at those? – VonC Jun 25 '14 at 06:13
  • @xmllmx and what version of GDB are you using? – VonC Jun 25 '14 at 06:15
  • I don't know. I use MinGW with gcc 4.9.0 – xmllmx Jun 25 '14 at 06:22
  • @xmllmx did you try my previous comment? "if you unset the skip all breakpoints (no more crossed-lines), and re-enable that button, would those breakpoints now be actually skipped? Or would your program still stops at those?" – VonC Jun 25 '14 at 06:25
  • I indeed did as you tell me, but the breakpoints were still hit. – xmllmx Jun 25 '14 at 06:37