Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

As the title of the question implies, I wish to know how to set up a QGIS Python Plugin Debugger so that I can develop plugins more efficiently.

Any information regarding this would be much appreciated as I am fairly new to QGIS Python Plugin Development.

Thanks

share|improve this question
    
which OS are you using? –  iant Jun 4 '13 at 9:25
    
@iant based on his previous question, I think he is free to chose any: gis.stackexchange.com/questions/62553/… –  underdark Jun 4 '13 at 11:28
    
Apologies for the late reply @iant I am currently using Windows but if need be I will use an alternative environment. –  Cedric Ramirez Jun 4 '13 at 12:42
add comment

3 Answers 3

If you want to have a step-by-step debugger, you can use the RemoteDebug plugin which integrates nicely with PyDev and Eric. But success has been reported with other environments as well.

This recent StackExchange question concerning code completion may be interesting as well.

share|improve this answer
    
Thanks! taken note, lets see how it goes. –  Cedric Ramirez Jun 4 '13 at 12:43
add comment

Plugins are written in Python, so use a Python debugger as pdb present in the standard distribution

enter image description here

and look Python module of the week: pdb – Interactive Debugger, Debugging in Python or the multiple tutorials on the Web.

Or choose another one of those presented in Python Debugging Tools

share|improve this answer
    
Thanks! will look into this –  Cedric Ramirez Jun 4 '13 at 12:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.