vshaxe / hxcpp-debugger

Visual Studio Code Debugger for Haxe/HXCPP applications
MIT License
26 stars 13 forks source link

conditional breakpoints support #12

Closed nulld closed 6 years ago

nulld commented 6 years ago

example

Gama11 commented 6 years ago

Is it necessary to prefix expressions with this for it to work (like in the watch panel)? If so, it seems like that shouldn't be required.

nulld commented 6 years ago

Yes, for now, it required. Good point, will think about it.

nulld commented 6 years ago

@Gama11 it works now without requiring this., but it's more performance draining solution. I'm not sure, what's the lesser of two evils... Can you test it for your project with two options? You can easily switch it here: https://github.com/vshaxe/hxcpp-debugger/blob/80ab728efa896019fca5d3fb93eb97f3e106a4ea/hxcpp-debug-server/hxcpp/debug/jsonrpc/Server.hx#L501 with last bool parameter. true means include members to interpreter context.