Recent

Author Topic: Debugger stops on non existing line  (Read 1141 times)

ps

  • Full Member
  • ***
  • Posts: 136
    • CSS
Debugger stops on non existing line
« on: October 31, 2019, 09:29:29 am »
I was breakpoint on line 1264 but removed it and now debugging allways stop at this line. But there is no breakpoint there. This is my unit, compiled with cleanup and build.  Restarting IDE don't help.

When I remove all breakpoints from View/BreakPoints window debugger don't stop here. But when I add any new breakpoint always stop here ...
Small simple CSS/box model implementation: https://github.com/pst2d/csscontrols/tree/dev

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9900
  • Debugger - SynEdit - and more
    • wiki
Re: Debugger stops on non existing line
« Reply #1 on: October 31, 2019, 09:55:46 am »
Does the code above have blue dots?

I can see that one line (the last line in the proc above) does not have a blue dot.

NO blue dot => means that the compiler did not add that code into your exe (or at least that there is no line info, in which case it does not exist for the debugger).

If you set a breakpoint on any line that does not have a blue dot, the debugger stops at the next line with blue dot in the same unit.

ps

  • Full Member
  • ***
  • Posts: 136
    • CSS
Re: Debugger stops on non existing line
« Reply #2 on: October 31, 2019, 10:03:29 am »
Yes this was problem, no blue points in my breakpoints :( . Thanks much!
Small simple CSS/box model implementation: https://github.com/pst2d/csscontrols/tree/dev

 

TinyPortal © 2005-2018