LUA debug

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

TPL_KUNENA_MESSAGE_CREATED LUA debug

24 Oct 2020 09:26
#1
Hi,
isn't somewhere a tutorial/ video that shows how to use
Debugging applications in the Emulator (V5.00 and newer)
with ZeroBrane, I don't understand why I'm unable to hit breakpoints in init and loop.
Thanks

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

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

TPL_KUNENA_MESSAGE_REPLIED_NEW LUA debug

31 Oct 2020 09:02
#2
To hit breakpoints in loop function, add at the begin of loop function
require("mobdebug").on()
and before the end
require("mobdebug").off()

and than breakpoints within loop function work....

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

  • gerhardf1
  • gerhardf1's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 77
  • Thank you received: 9

TPL_KUNENA_MESSAGE_REPLIED_NEW LUA debug

01 Jan 2026 15:09
#3
Hallo,
bin gerade dabei mich in das Debugging von Lua Apps einzuarbeiten.
Bin auf das gleiche Problem wie der Threadersteller gestoßen:
Ich kann im ZeroBrane Studio zwar Breakpoints setzen, die App wird aber nicht gestoppt.
Den Hinweis betr. 
Code:
require("mobdebug").on()
am Anfang der Loop und 
Code:
require("mobdebug").off()

am Ende der Loop habe ich befolgt, doch leider ohne Erfolg.

Jemand eine Idee?

Danke im voraus!
Gerhard

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

Time to create page: 0.323 seconds
Powered by Kunena Forum