Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
vshaxe's eval-debugger doesn't work with Lix/Haxeshim (Haxe 4RC2, scoped or global Lix-installed Haxe) #72
I don't know whether this is a
I have a local lix scope in my project set to Haxe 4RC2. In vshaxe, there's no custom config for the haxe executable (default is just
Here's a dump of my vshaxe settings.json:
Then, I have the following launch.json for the workspace, to configure the eval-debugger debugging launch target:
When I go the
It ends up failing with the following message:
Also, as you may see, I have two hxmls, as this projects includes code for the frontend and the backend of the app. Right now,
Perhaps this a Haxeshim bug? Any insights and or workarounds would be greatly appreciated.
Here's a minimalist project to reproduce the problem: https://github.com/fullofcaffeine/haxe-vscode-lix-macro-debugger.
Haxe 4RC2 is installed globally by Lix (It seems the eval-debugger extension can't find a scoped Lix-installed Haxe, and tells me I have an old version of Haxe and that the eval-debugger requires at Haxe 4RC2, so I had to install Haxe 4 RC2 globally, see: https://www.collabshot.com/show/c7ddfe) and @ a local scope using Lix.
I left this as a default setting in https://github.com/fullofcaffeine/haxe-vscode-lix-macro-debugger/blob/master/.vscode/settings.json.
I assume that to use Lix, it's just a matter of leaving the default
When using Lix, after clicking the Launch button
It seems this could be a problem both with the eval-debugger and Lix. With eval-debugger for not using/finding the scoped Lix-installed Haxe and falling back to the global version, instead. With Lix because once eva-debugger finds it (the globally Lix-installed Haxe), it fails with the message above. It only works when vshaxe is setup to a global raw/un
changed the title
vshaxe's eval-debugger doesn't work with Lix/Haxeshim (Haxe 4RC2)
Apr 4, 2019
I cloned the repo and pressed the play button in the debug panel. It tells me:
Obviously the project is using rc2 which is specified in
@Gama11 how is haxe invoked by the debugger?