C++ Debugger Extensions for LuaThis Visual Studio extension enables debugging of Lua scripts running inside C++ applications with Lua library. Supported Lua versions:
Features:
Additional configurationIn the default configuration, debugger searches for script files in current working directory and application executable directory. Application may provide Lua with script file paths that do not match the file system. To help the debugger find your script files in this scenario, additional script search paths can be provided using an optional configuration file.
Add
TroubleshootingIf you experience issues with the extension, you can enable debug logs in 'Extensions -> Lua Debugger' menu if you wish to provide additional info in your report. Breakpoints and Stepping informationAs in other Lua debuggers, breakpoints are implemented using Lua library hooks. The hooks are set when breakpoints are active or if stepping through Lua code was performed. This debugger or other debuggers might override each other hooks, so if breakpoints are not hit, this might be the reason. If you experience issues with the debugger on launch, you can disable attachment to your process in 'Extensions -> Lua Debugger' menu. Debug logs can be enabled there as well if you wish to report the issue. (note that names of your Lua scripts might be included in the log). If debugger attachment is disabled, all features except for breakpoints and stepping will still work. Compatibility ModeIf you use Lua 5.2 without LUA_NANTRICK or if you have your own modifications in Lua library and you are experiencing issues with this extension, you can enable 'Compatibility Mode' from the extension menu options. With this options, the debugger will load Lua data using symbolic field offsets instead of constant byte offsets expected for a specific version of Lua library. Known Issues:
|