Replies: 1 comment 4 replies
-
Right. Since imported mode uses the run_sketch command line tool, any debugging would have to be done through that. I did learn some things about debuggers while at PyCon. It would be very difficult to add debugging or the ability to step through code as a feature in run_sketch. In module mode, debugging should work just fine but last time I tried that in VSCode it did not work for me. It was a while ago though. Does it work in Thonny? It might be an interesting educational tool to debug a Sketch using the default renderer and see the Sketch being drawn one line at a time. Does that actually work? With the OpenGL renderers, the code could perhaps work with a debugger but you would not see the Sketch window change until after the |
Beta Was this translation helpful? Give feedback.
-
This looks like a really hard thing:
Thonny's debug feature doesn't work with "imported mode" and I was reminded of that by a recent (unrelated) -Processing forum post. I wonder if there is a solution to this or it is just something we might want to warn users about when they try "the bug button".
I think Aivar had commented in a conversation we had, a long time ago, on this being a huge drawback of having a "simplified language mode pre-processing"...
Beta Was this translation helpful? Give feedback.
All reactions