Reply To: Debugging Support for Lua

Home Forums General Programming Debugging Support for Lua Reply To: Debugging Support for Lua

  • Topics: 13
  • Replies: 35
  • Total: 48

Looking at this more closely, it seems that what mobdebug does in Lua we can directly do in C++ through the Lua C API :

MobDebug registers a debug_hook() in Lua and we can register a C function through :

That would allow us to have a debugger integrated into Ctrlr itself rather then rely on an external debugger server.

We can also examine variable values and put them in a watch window and show the current stack :

  • This reply was modified 7 years, 7 months ago by synth.