JETI DCDS_Lua_API_1.5.pdf Debugging applications in the Emulator

  • borisff
  • borisff's Avatar Offline Autor
  • Senior Mitglied
  • Senior Mitglied
  • Beiträge: 61
  • Dank erhalten: 3

JETI DCDS_Lua_API_1.5.pdf Debugging applications in the Emulator wurde erstellt von borisff

Posted 31 Okt. 2020 10:15 #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 Okt. 2020 10:16 von borisff

Anhänge:

Letzte Änderung: 31 Okt. 2020 10:16 von borisff.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.937 Sekunden