Bug 15506 – VS2015 crash while debugging

Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-01-03T14:08:08Z
Last change time
2018-06-10T09:15:00Z
Assigned to
No Owner
Creator
Manu

Comments

Comment #0 by turkeyman — 2016-01-03T14:08:08Z
I'm getting weird crashes while debugging... I'm on VS2015, debugging a DMD built DLL, loaded from a C++ exe. Debugger is the VS debugger, launched when launching the C++ exe. The DLL is built with Debug Info = 'Symbolic (suitable for VS debug engine). I can step through some D code without problem, but I step into a particular function, and the moment the debugger tries to evaluate any variable, it crashes. If I take care not to evaluate any variables, it continues to work for a little while, but eventually crashes when it reaches a particular instruction. The stack frame looks okay, not corrupted. It is certainly not corrupted immediately before the 'call' opcode that enters the functions, which makes me think it's some sort of debugger state problem. I have no idea how I can reproduce outside of this specific case :/
Comment #1 by turkeyman — 2016-01-03T15:11:05Z
Interestingly, if I step over the function instead of stepping into it, there is no problem, the function works, no crash, does what it's supposed to. It's just that if I step into it, and evaluate any local variable, it crashed VS.
Comment #2 by r.sagitario — 2017-01-24T07:55:55Z
Do you still have this issue with the new debugger integration? If it persists, an example for reproduction would be nice.
Comment #3 by turkeyman — 2017-01-24T09:16:17Z
I am disconnected from the code that caused the bug now :(
Comment #4 by r.sagitario — 2018-06-10T09:15:00Z
Considering that this report predates the Concord debugger plugin, I'm closing this and wait for new issues to show up...