devicescript
devicescript copied to clipboard
only-my-code in debugger
Currently setTimeout()
/setInterval()
are implemented in DevS which is somewhat inefficient and cause the debugger to pause there.
- [x] make sure
Halt
command stops on the next instruction when there are no fibers running - [ ] re-implement timeouts in C
Even if timeouts were done in C, Pause button ends up in on _onPacket
. I guess we'll need "only my code" kind of flag.