[Qgis-developer] PyDev

Maurício de Paulo mauricio.dev at gmail.com
Wed Dec 30 19:32:09 EST 2009


Ok, working also for windows vista.
Maybe you misconfigured something. If the interpreter has the module loaded
PyDev will load it's API.

2009/12/30 Maurício de Paulo <mauricio.dev at gmail.com>

> Sorry for the wrong information.
> On my ubuntu 9.10 eclipse already found Qt. I think that if it's recognized
> in the PythonPath on PyDev's Preferences it loads the API. Eclipse takes a
> looooong time trying to index the APIs available for a given python
> instalation.
> I'm going to try it on windos vista later.
>
> Best regards,
> Mauricio de Paulo
>
> 2009/12/30 Maurício de Paulo <mauricio.dev at gmail.com>
>
> Indeed. I know that there is some way to make pydev search everything and
>> build autocomplete, but I haven't looked much into it. I don't really use
>> autocomplete... And eclipse is a really demanding IDE. It takes a really
>> well tuned PC to make it worth the processing and memory cost. It's one of
>> the main reasons I looked for better PCs... (sadly)
>> On this post I wrote about how to debug a python plugin running qgis and
>> watching variables and breakpoints from eclipse's pydev.
>> http://mauriciodepaulo.blogspot.com/2009/12/pydev-e-qgis.html
>> As it's written in portuguese i'm going to explain a bit here.
>> You have to call the pydev daemon from your python script and start the
>> eclipse debug server.
>> Whenever the script is run, it will try to fetch the server and will debug
>> it.
>> If the server is not on, the script fails.
>> Hope it helps.
>> Mauricio de Paulo
>>
>> 2009/12/30 <luca_manganelli at comune.trento.it>
>>
>> Maurício de Paulo <mauricio.dev at gmail.com> scritti il 30/12/2009 05.08.21
>>>
>>> > Hi Luca,
>>> > I've found out how to debug plugins running qgis. I'm going to
>>> > report it on my blog in a few days. I'll try to be as clear as
>>> > possible with pictures as i'm going to write in portuguese.
>>> > Best regards,
>>> > Mauricio de Paulo
>>>
>>> Two issues:
>>>
>>>  1) autocompletion is *very* slow on a Pentium IV 2,8 Ghz and 1 GB of RAM
>>>  2) it doesn't find QT classses and methods
>>>
>>> _______________________________________________
>>> Qgis-developer mailing list
>>> Qgis-developer at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091230/82e54405/attachment.html


More information about the Qgis-developer mailing list