[ZeroBrane Studio] Re: Integrating other "runtimes"

  • From: Ignacio Burgueño <iburgueno@xxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Wed, 10 Apr 2013 12:42:47 -0300

Hi Paul.

mobdegub.coro() does not work. However, calling mobdebug.on() inside that
callback did work. The strange issue is that I'm not using coroutines.
Everything is running off the main thread.

However, when I run this script under the debugger, the assert at line 5
fails. If I don't use the debugger, everything works fine.
1: setInterval(function()
2:     assert(coroutine.running() == nil)
3: console.log("%s", os.time())
4: end, 2000)
5: assert(coroutine.running() == nil)
6: process:loop()

​

Other related posts: