Static Variable crashes Debugger in 64-Bit

Carsten Belling reported a crash with feedback://showreport?report_id=53325.

I can reproduce it here on Windows with Xojo 2018r2.
And I would appreciate if this could be fixed for 2018r3.