JETI DCDS_Lua_API_1.5.pdf Debugging applications in the Emulator

  • borisff
  • borisff's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 65
  • Thank you received: 3

TPL_KUNENA_MESSAGE_CREATED JETI DCDS_Lua_API_1.5.pdf Debugging applications in the Emulator

31 Oct 2020 09:15 - 31 Oct 2020 09:16
#1
Please add in JETI DCDS_Lua_API_1.5.pdf
"Debugging applications in the Emulator (V5.00 and newer)"
a section that explain how to catch breakpoints in a loop function
return {init=init, loop=XXX
To hit breakpoints in loop XXX function, add at the begin of loop function
require("mobdebug").on()
and before the end
require("mobdebug").off()
and than breakpoints within loop function XXX function work.
Or please detail any other method if any exists (require('mobdebug').coro() ?), a setup to do in zerobrane from default one ?

And change the debug example to something with a loop function
return {init=init, loop=XXX, author="
Most of your apps have a loop function
github.com/JETImodel/Lua-Apps/blob/maste...rizon/Horizon_24.lua

Thanks
Last edit: 31 Oct 2020 09:16 by borisff.

Please Log in or Create an account to join the conversation.

Time to create page: 0.297 seconds
Powered by Kunena Forum