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
Unless it's shared or __gshared, every thread gets it's own copy. D defaults to thread local storage (TLS).