D globals in gdb

Mihail Zenkov mihail.zenkov at gmail.com
Mon Apr 2 03:56:48 PDT 2012


On Saturday, 31 March 2012 at 14:58:48 UTC, Martin Krejcirik 
wrote:
> Hi all,
>
> is there any way how to print a content of a D global variable 
> in GDB ?

Try in gdb:

p 'module_name.glob_var'

P.S. You can also use autocomplete: p 'module_name.<TAB><TAB>


More information about the Digitalmars-d-debugger mailing list