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.