This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Strange blue band disabled breakpoints



Hello,

I would like to ask a question on breakpoint.

I have found a strange blue band situated on the left side of the code editor window, composed of tiny blue dots. Within in the lines this blue band spans, all breakpoints become unavailable and in debugging CCS will not stop at these breakpoints.

 

What does this blue band indicate? Is there a way to make it disappear so I will have my breakpoints availabe again?

 

Thanks,
Jim

  • Hi Jim,

    When the marker is blue, that means the breakpoint is enabled, it is corrsponding to the breakpoint checkbox in the breakpoint view.

    The checkmark overlay in the icon means the breakpoint is installed in the debugger. When you have a debugger up and running, the checkbox should be visible, it indicates the breakpoint is installed in the debugger.

    You should be able to skip all breakpoints (not remove them) and un-skip all breakpoints from the Breakpoint view. When skipped, the breakpoint is temporary disabled in the debugger, until it is un-skip. A skipped breakpiont should have a diagnal blue line across the breakpoint icon, similar to the skip all breakpoint toolbar icon.

    Regards,
    patrick

  • Anonymous
    0 Anonymous in reply to Patrick Chuong

    Dear Patrick,

    patrick said:

    The checkmark overlay in the icon means the breakpoint is installed in the debugger. When you have a debugger up and running, the checkbox should be visible, it indicates the breakpoint is installed in the debugger.

    I understand what checkmark overlay is, but what is the blue band, the vertical, long line on the left with blue dots pattern, which sometimes prevents breakpoints from being stopped at?

     

    patrick said:

    You should be able to skip all breakpoints (not remove them) and un-skip all breakpoints from the Breakpoint view. When skipped, the breakpoint is temporary disabled in the debugger, until it is un-skip. A skipped breakpiont should have a diagnal blue line across the breakpoint icon, similar to the skip all breakpoint toolbar icon.

    I noticed that skip allows "skip all breakpoints" or not. Is this merely provided as a convenient way to toggle all breakpoint on/off, without the need to individually remove all of them one after another (especially when there are many breakpoints), and to free the user from the need to remember the long list of of enabled/disabled breakpoints?

     

    Regards,

    Jim

     

     

     

  • Hi Jim,

    My appology for mis-understanding your question, the blue band indicates the range indicator of your current selected line, cursor location.

    You should able to set breakpoint regardless of the range indicator. To turn off, goto Preferences page and under General\Editors\Text Editors, you should be able to find "Show range indicator".

    Regards,
    Patrick

  • Dear Patrick,

    It works indeed as what you described. Thanks very much.

     

    Jim