lua-users wiki: Debugging Lua Code (original) (raw)
![]() |
|---|
Question: Is there a debugger for Lua?
Lua comes with debugger interface, so that users can write their own monitoring code (e.g., for a debugger, tracer, or profiler) through the Lua Debug library [1]. Some examples are below.
- Inline / Command line debuggers
- [RemDebug] - remote debugger in Kepler
- [clidebugger] (5.1) - a simple portable Lua command line debugger, inspired by RemDebug? but without its remote facilities
- [ldb] by RiciLake (broken link?)
* A few versions may be found here: [2]+[3], [4] (also search "rici ldb" on http://lua-users.org/lists/lua-l/ ) - [ctrace] (5.0/5.1) - a tool for tracing Lua API calls.
- [xdbLua] (5.1) - a simple Lua command line debugger for Windows.
- [LuaInterface-debugger] (5.1) - a debugger extension for LuaInterface.
- [Rldb] - remote lua debugger via sockets. written in C
- [MobDebug] - remote Lua debugger using sockets (based on RemDebug?); integrates with [ZeroBrane Studio Lua IDE]
- [Ldb] much older debugger by Tom�s Guisasola
- [LDT debugger] Koneki LDT debugger based on the DBGp protocol.
- [Debugger.lua] Feature complete debugger that can be included as either a single .lua or .c file. Provides a drop in lua_pcall() replacement.
- Graphical debuggers
- See LuaIntegratedDevelopmentEnvironments.
- For SciTE, see SciteDebug (No watch window in debugging).
- [Software Verification Lua Memory Validator]
- [Software Verification Lua Bug Validator]
- [Decoda] is Graphical debugger with remote debugging support (Debugging does not work "from the box")
- [GRLD] - graphical remote lua debugger with source code, free of charge for non-commercial use. Works with lua-jit too. (Does not work "from the box". Very buggy.)
- [ZeroBrane Studio] Lua IDE with integrated remote debugger, stack view, watch view, remote console, static analyzer, and more. Works with LuaJIT, Love2d, Moai, and other Lua engines. Windows, OSX, and Linux. Open source.
- [LuaRT Studio] Open source Lua 5.4.4 IDE for Windows with integrated x86 and x64 debugger, script to executable compiler. Based on the LuaRT toolchain to develop LuaRT or Lua applications.
- [BabeLua] vs2012/2013 extension. Debugger (Watch, Globals, Locals, Call Stack, Lua Stack, etc)
- [LuaStudio] LuaStudio is aprofessional development environment for debugging Lua script in your applications. It's familiar and fast and you'll wonder how you ever worked without it.
- [akdebugger] Debugger and editor for Lua. Plugin for Eclipse.
- [LuaEdit] Lua IDE for Windows with integrated remote debugger
- Other
- [StackTracePlus] -- provides enhanced stack traces
RecentChanges · preferences
edit · history
Last edited December 11, 2022 9:52 am GMT (diff)
