A Lua debugger is now embedded in Ctrlr. You can enter the debugger using two ways, by setting a breakpoint (double click on the line number inside the Lua editor, it will be highlited in red, double click again to unset it), or by calling the special pause() function (it takes one string argument so that you can tell what puase is the one that occured).
Once inside the debugger, you get some control like step-over, step-into, step-out, continue, theese are basic debugger command for stepping over the code. You also have a view of local variables and the current stack trace. You can directly interact with the debugger in it’s window, type “help” to get some commands that you can use.
This is all very experimental and not very well tested, but even at this state it might be helpful for more advanced Lua purposes.
One thing i know is broken and can’t be fixed for now is debugging any paint methods, this seems to be broken on Linux, it will cause crashes. It might work on other platforms but i’m not sure (i got mixed results). So be aware of that.
Other stuff
– JUCE has been upgraded to 3.1.0
– lua initalization has been fixed
– LuaSocket has been removed
– new callbacks for passing arbitary data when saving/restoring Ctrlr state (panel specific)
– embedded lua console in the lua editor (thanks to cyberCBM)
– some lua editor fixes and utils (thanks to cyberCBM)
– LookAndFeel is almost ready i still need to add an example panel but the code is there and ready