Being a bytecode interpreter, dealing with non-trivial variable objects, makes it rather challenging. I don't believe MicroPython has ever had any option to single-step through bytecode and see what that's doing. Most MicroPython debugging is therefore limited to 'print' commands, and perhaps 'assert', in source code.Let me know if you find one for PICO and that works with compiled code.One only needs a good debugger or a logic analyzer ...
I guess it could be done with a '.uf2' or '.bin' file dump which includes he file system but how to would be the first hurdle to overcome.
Then is it worth the effort comes into play.
You would have to create that "good debugger" and I don't think most logic analysers will get you very far.
Statistics: Posted by hippy — Wed Jan 08, 2025 8:15 pm