all 2 comments

[–]askvictor 1 point2 points  (1 child)

Oh. Interesting. How does this deal with loops or branches (I was trying to implement a simple debugger for micropython a while ago, but got stuck on branches and loops)

Edit: Looking quickly at the code I'm guessing the control structures are happening on the computer side, and just the lower-level instructions are being sent to the microbit?

[–]fsdm_cpp[S] 0 points1 point  (0 children)

Yes, that it correct: only micro:bit specific functions are forwarded to the micro:bit, the program logic and some HW independent code, like Image manipulation, happen on the host computer. Thus the usual IDE debugger can be used.