https://issues.dlang.org/show_bug.cgi?id=1705
--- Comment #1 from Rainer Schuetze <r.sagita...@gmx.de> --- Indeed, C++ emits the static variable as part of the function locals, while dmd makes it a global symbol with full qualification. mago has a workaround that allows watching statics if the function has extern(D) mangling, so the fully qualified variable can be found. It doesn't show up as a local, though. --