Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: should the plugin also work with Python Processing Scripts #26

Open
rduivenvoorde opened this issue Feb 18, 2020 · 4 comments

Comments

@rduivenvoorde
Copy link

Hi Martin,

Debugging Plugins are working fine, but I fail to make breakpoints work on simple Processing scripts?

Should that work? Or is that something 'TBI' (to be implemented...)

@wonder-sk
Copy link
Owner

Hi Richard!

Hmm ideally that should work too... you should be able to load any kind of python script into first aid window, set breakpoints there and press Run button in the toolbar - it should stop at those breakpoints....

@rduivenvoorde
Copy link
Author

FYI: I just tested in Windows (osgeo4w installer) and there it works!!

With me on Linux it fails though, maybe something todo with python paths?
As said, Plugins work with me on Linux too.

@mastro-vtg
Copy link

I don't know if I'm doing something wrong, but I also have some issue with breakpoints and Python Processing Scripts. In my case I set a breakpoint but First Aid never stop there. The Python Error is working fine.
The only thing that I do differently is: I don't use the "Run Python File" for starting, because I need to start the script via the QGIS gui.

@SimpleProgrammingAU
Copy link

I don't know if I'm doing something wrong, but I also have some issue with breakpoints and Python Processing Scripts. In my case I set a breakpoint but First Aid never stop there. The Python Error is working fine. The only thing that I do differently is: I don't use the "Run Python File" for starting, because I need to start the script via the QGIS gui.

I have the same issue. It is unclear how to setup debugging when using the processing GUI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants