Bug 11024 – cannot inspect global variables in debugger

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
visuald
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-09-13T13:14:52Z
Last change time
2020-03-07T16:34:54Z
Keywords
DebugInfo
Assigned to
No Owner
Creator
Rainer Schuetze
See also
https://issues.dlang.org/show_bug.cgi?id=17675

Comments

Comment #0 by r.sagitario — 2013-09-13T13:14:52Z
original report: http://www.dsource.org/projects/visuald/ticket/49 reported 05/07/11 05:33:10 by Extrawurst for version 0.3.23 bug in Debugger Shouldn't i be able to inspect the value of global variables by hovering it with the mouse ? Or at least when i drag it into the watch window ? Instead i have to write a "modulename@" in front of it ? Comment 1: 05/07/11 08:41:17 by sagitario That would be nice, but I doubt it is possible with the VS debugger. It's the same as global variables inside namespaces in C++: you have write "namespace::globalVar". With the mago debugger, it should be possible, but does not work yet. The debug info generated by the latest dmd beta (2.053) allows to use "modulename.globVar" instead of the mangled name, though. Comment 2: 10/25/11 15:21:17 by sagitario This should work now with the mago debugger in 0.3.28, but with a few restrictions: only in the module of the declaration and not available in extern(C) functions.
Comment #1 by r.sagitario — 2020-03-07T16:34:54Z
added global cache of unqualified symbols. See https://github.com/dlang/visuald/releases/tag/v0.52.0-beta1