Fork me on GitHub

@hlship are you using AOT?


@hlship If you are AOTing, one thing to bear in mind is that locals clearing only takes effect when code is compiled, so you’d have to AOT with that flag set. Otherwise you can just reload the namespaces you want to debug, and the flag will take effect then because the code is compiled at that point.


No, no using AOT. Yes, I think it seems better when reloading code, also sometimes breakpoints don’t work until code is reloaded. Lots of leaky abstractions going on!


@hlship I wonder if your code is getting loaded before Cursive can set that flag. IIRC you can set that flag via system properties, but I can’t check the details right now.