Bug 13198 – Removing breakpoint in template with many instances doesn't remove breakpoint
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-07-24T08:25:00Z
Last change time
2015-01-02T12:43:26Z
Keywords
symdeb
Assigned to
nobody
Creator
turkeyman
Comments
Comment #0 by turkeyman — 2014-07-24T08:25:30Z
While debugging, if you remove a breakpoint from within a template with many instances, the breakpoint isn't actually removed.
Upon program termination, the breakpoint reappears and stops again next time you debug.
If you remove the breakpoint while the program is not running, then it is actually removed for real.
Comment #1 by r.sagitario — 2014-07-28T13:15:06Z
When reporting debugger issues, please specify which debug engine you use. I guess this is a report for the "Visual Studio" engine.
If you have multiple projects using the same code, deleting breakpoints while debugging only affects the currently running binaries. This also annoys me when debugging C++ code. The remaining breakpoints are then bound to the old locations again when starting a new debug session.
Please check the breakpoint window: if there are multiple sub-nodes for a breakpoint, only some of them are probably removed when you delete the breakpoint in the source window. You have to delete it in the breakpoint window to get rid of them all.
If this is the case, there is not a lot we can do, as this is an issue with the VS debugger.
Comment #2 by turkeyman — 2014-07-28T14:44:12Z
Sorry.
I only use the VS engine since Mago64 isn't released yet.
DMD-32 is no use to me.
I'll check if that was the case as you say next time it happens.
Comment #3 by r.sagitario — 2015-01-01T22:03:12Z
Is this still valid or the described VS issue?
Comment #4 by turkeyman — 2015-01-02T12:43:26Z
I can't repro in a simple case. I don't have the original case anymore (it was quite big, too much to paste in the bug).
I'll close it and reopen if it reappears with some code.