writing a debugger/pdb for micropython

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
askvictor
Posts: 24
Joined: Tue Mar 22, 2016 9:08 pm

writing a debugger/pdb for micropython

Post by askvictor » Fri Aug 05, 2016 1:15 am

I think it would be really valuable (mostly from a teaching and learning perspective) to have debugging capabilities in micropython. I'm imagining something quite simple - for starters, a way to set a breakpoint (like

Code: Select all

import pdb; pdb.set_trace()
) then drop into a REPL when that line is hit; albeit with the current state of the program intact. Later on, adding the ability to resume or step through code.

On the surface, does this seem reasonable to fit into the memory constraints of micropython?

Post Reply