Repository navigation
Conversation
implemented as a DAP listener on port 43030 enable with `enable luadebugger`. see `devtools` directory for related utilties
|
What I tested with: Dwarf Fortress: v0.53.16 win64 ITCH Where I'm at:
so far so good. next, problems. |
|
TL;DR: I couldn't get the python client to work. The python script loads without syntax errors. if the plugin is not listening, the script aborts with a stacktrace. If the plugin is listening, the python script prints one line: The script aborts when I input a Ctrl-Break, and aborts with a stacktrace when I input a Ctrl-C: After a Ctrl-C, but not a Ctrl-Break, any input I tried to feed to the script is fed to the shell instead. While the python script is running, the plugin reports that it is connected: Dwarf Fortress runs fairly normally; DFHack Lua execution is, as I expected, slow. If I try to stop the plugin while the python script is hung, the plugin hangs. kinda stuck there; not enough diagnostics to continue exploring. |
|
TL;DR: I am unable to connect the VSCode debug interface to the Lua debugger. Configuration: "launch" section of DFHack.code-workspace: launch.json: |


implemented as a DAP listener on port 43030
enable with
enable luadebugger. seedevtoolsdirectory for related utilties