← index #4971Issue #3009
Related · high · value 0.523
QUERY · ISSUE

RFC: "REPL interact" as easier to implement debugger?

openby andrewleechopened 2019-08-03updated 2019-08-06

Would it be possible/easy to create a micropython.interact() function that would break to repl in the current scope, with a continue function that can be run in said repl to resume the program flow after you've investigated what's going on?

This could be used like a hard coded breakpoint, say if your code detects an error it will throw you into the repl at that point so you can inspect what's going on.

CANDIDATE · ISSUE

Add support for PDB debugging module

openby slush0opened 2017-04-09updated 2024-08-02
rfc

Hello,

I'd like to see support for debugger in Micropython. I know it has been discussed before, but I cannot find any conclusion on that topic from Micropython team. Is even possible to implement PDB support in current Micropython codebase?

If so, what is needed to make it happen? Do the project need more manpower for this task or is it matter of priority or money?

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied