devicescript icon indicating copy to clipboard operation
devicescript copied to clipboard

only-my-code in debugger

Open mmoskal opened this issue 1 year ago • 1 comments

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

mmoskal avatar Mar 24 '23 17:03 mmoskal

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.

mmoskal avatar Mar 25 '23 16:03 mmoskal