www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11024] New: cannot inspect global variables in debugger

http://d.puremagic.com/issues/show_bug.cgi?id=11024

           Summary: cannot inspect global variables in debugger
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: r.sagitario gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario gmx.de> 2013-09-13 13:14:52
PDT ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 13 2013