Mind that coroutine.running () changed from 5.1 to 5.2. So make sure you're comparing apples and apples. Thijs -------- Oorspronkelijk bericht -------- Van: Ignacio Burgueño <iburgueno@xxxxxxxxx> Datum: Aan: zerobrane@xxxxxxxxxxxxx Onderwerp: [ZeroBrane Studio] Re: Integrating other "runtimes" 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()