9 ms·
anyone know how to get debugging working with a regular, command-line only, lua file?
by shawndumas 14y ago
anyone know how to get debugging working with a regular, command-line only, lua file?
- mischanix 14y agoDownload Lua 5.1.4 and run the file through that. The debugger doesn't appear to support 5.2 (crashes the target process). You will need something like `io.read("*line")` at the top so the debugger can attach. Once that's done, just attach by going into "Debugger > Processes..." and choosing lua5.1.exe.
- shawndumas 14y agoah; you are correct. 5.2 was the issue. once i switched to 5.1.4 debugging worked.