It's currently impossible for a debugger to make sense of globals (especially if imported from other modules):
module a;
import b;
void main()
{
glob = 3;
}
///////
module b;
int glob;
///////
module c;
int glob;
There is no information available to unambiguously show "glob" while stepping through main. It would be nice if the compiler would emit symbol lookup information for the import.
IIRC GDC already does this.
Comment #1 by robert.schadek — 2024-12-13T18:53:31Z