News for hackers. Stuff that matters.
Re:Haxe 4.2 by Gama11 on Tuesday February 09, 2021 @05:26PM (#26083254)
For 5 of the targets, debugging directly within the Haxe sources is supported with different VSCode debug adapters (well, JS just uses source maps). If your code is written in a target-agnostic way, you can even switch to a different target with better debugging support temporarily.

https://github.com/vshaxe/vshaxe/wiki/Debugging

Other than that, if really you need to debug some target-specific issue on a target without debugging support, there's usually still the option of debugging the generated code.

Re:Haxe 4.2 by artemonster on Tuesday February 09, 2021 @05:46PM (#26083510)
oh, I see, thanks! Since I assume you're one of the devs, can you pinpoint also to a direct AST evaluator implementation? Either the obsolete --interp or the new "Eval" interpeter engine :)
Re:Haxe 4.2 by Gama11 on Tuesday February 09, 2021 @05:49PM (#26083552)
The eval implementation is found here (evalMain.ml is the entry point):

https://github.com/HaxeFoundation/haxe/tree/development/src/...