03-04-2024, 08:49 AM
(03-04-2024, 02:40 AM)gimpygirl Wrote: Will GIMP 3 have a debugger? I think it's usefulIn Windows? Don't count on it. On Linux, that could possibly be jury-rigged.
(03-04-2024, 02:40 AM)gimpygirl Wrote: Why shouldn't python be debugged? You can debug python without gimpBecause your Python code runs in an environment set up by Gimp, and you would need a combined Gimp+IDE environment.
On the other hand we are talking about scripts, so just Python being the glue around API calls that do the real job and very little logic in Python. You can test these calls in the Python console and when they work move them to your code. And when you have complicated logic, you can factor it in Gimp-independent code, so test/debug it outside of Gimp, and when it works, just copy it to your script.
I use debuggers in C and Java, much less in Python or Bash.