Bug 17460 – Debugger: registers don't work in expression evaluation

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2017-06-02T05:11:00Z
Last change time
2017-06-05T16:47:26Z
Assigned to
nobody
Creator
turkeyman

Comments

Comment #0 by turkeyman — 2017-06-02T05:11:29Z
When debugging C++, you can use registers in the watch windows in expressions. ie: (char*)rax -> "hello" (if rax is a pointer to a string for example) When debugging D code, the expression evaluation engine is changed, and the registers don't work. Can the D debugger also evaluate registers in expressions?
Comment #1 by r.sagitario — 2017-06-03T07:14:09Z
> Can the D debugger also evaluate registers in expressions? It currently cannot, but I have also missed that from time to time. Especially when entering the register into the address line of the memory window.
Comment #2 by turkeyman — 2017-06-03T11:03:14Z
Mmm, would be cool.
Comment #3 by r.sagitario — 2017-06-05T16:47:26Z