Re: Weird debugger behaviour on statics
Posted: Tue Aug 29, 2023 8:51 am
Yes, I've checked the ModuleDesignerTestClient log file and there aren't any error messages.Centripidity wrote: ↑Tue Aug 29, 2023 4:08 am
When you run outside the debugger have you checked the VM log file to see if an exception is thrown?
I'm pretty sure it's a bug (possibly two bugs) in the debugger. But it's not straightforward to reproduce or even analyse. I've spent a couple of days on this now so have decided to just shrug my shoulders and move on.
The code runs fine outside the bugger but obviously I want to be able to debug other code so it's a problem I've had to work around. It's not the first time I've had to workaround something.
Hopefully this thread has still been useful in giving other devs a heads-up about potential problems when debugging initialization code especially when statics are involved.