Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA:

JETI DCDS_Lua_API_1.5.pdf Debugging applications in the Emulator 31 Okt 2020 10:15 #1

  • borisff
  • borisffs Avatar Autor
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Beiträge: 49
  • Dank erhalten: 2
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
Anhänge:

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Letzte Änderung: von borisff.
  • Seite:
  • 1
Ladezeit der Seite: 0.137 Sekunden
Powered by Kunena Forum