D globals in gdb

Martin Krejcirik mk-junk at i-line.cz
Mon Apr 2 10:36:27 PDT 2012


> Try in gdb:
>
> p 'module_name.glob_var'


argh, the single quotes. Thanks, now it works if the global is 
declared shared.
But if it isn't, print shows just the init value, no changed 
data. Any idea ?

--
mk


More information about the Digitalmars-d-debugger mailing list