vshaxe / hashlink-debugger

Visual Studio Code Debugger for Haxe/HashLink applications
https://hashlink.haxe.org/
MIT License
57 stars 23 forks source link

Loss of local variables #91

Closed ncannasse closed 8 months ago

ncannasse commented 4 years ago

Because of compiler optimisation, some variables are not visible from within the debugger. This could be fixed by adding proper support for these.

Inline constructors : pt is replaced by pt_x and pt_y on stack.

static function foo(x,y) {
    var pt = new h2d.col.Point(x,y);
    return pt.length();
}