Home › Forums › General › Programming › Debugging Support for Lua › Reply To: Debugging Support for Lua
October 9, 2014 at 2:38 pm
#30368
So it seems that I need to open the mobdebug.lua file in Ctrlr as well as my Test.lua file. Then I need to switch my project directory in Zerobrane to the one which has Test.lua
Then I need to choose save and compile all in Ctrlr which seems to notify Zerobrane. At least I can see that the code breaks there during compilation at :
require('mobdebug').start()
function testme() <----------------------- right here
console("testme() called")
console("Step 1")
console("Step 2")
end
Then I press F10 multiple times to complete the compilation. After that if I call testme() from the console, the code breaks at “console(“testme() called”)”