Delphi: why breakpoints from time to time are not usable (green highlighted line on IDE)? – Stack Overflow
Posted by jpluimers on 2020/11/25
I still have not figured out the circumstances, but ever since either the Unicode Delphi versions (2009 and up) or BDS (8 and up), I have this every now and then: [WayBack] Delphi: why breakpoints from time to time are not usable (green highlighted line on IDE)? – Stack Overflow
So far this is consistent, limiting it to:
- large projects (100+ kilo-lines-of-code)
- for those projects, either as single .dproj file or as part of a .groupproj
- debugging works the first time, but fails consistently with these symptoms:
- break-points fail
- blue dots in the gutter disappear; red-dots become green
- exceptions cause a stack-trace with only hex-addresses
- other projects in the same project group still debug fine
To get it working (one time per try) again:
- restart the IDE
- close the project, then re-open it in the same IDE instance
What does not help getting it to work:
- clean build from the IDE
- deleting DCU files
–jeroen
Leave a comment