← Back to team overview

openerp-community team mailing list archive

Re: Fwd: how to debug modules ?

 

And if you use --update because of some change that need to be propagated
into the database, make sure to select exactly the right module you changed.
Only this module and the depend ones (hopefully few if you are working on a
final layer extension properly) will be loaded, so it will be pretty fast.
Now if you do --update=all everytime, don't be surprise if it's very slow.

Hope this helps.

2011/8/24 Omar <bronxkds@xxxxxxxxxxx>

> **
> Hi,
>
> You only need update the modules, if you have changed xml files. If you
> only have changed the .py files, you can restart server, without --update
> parameter.
>
> El 24/08/11 16:53, Thibaut DIRLIK escribió:
>
>
>
> ---------- Forwarded message ----------
> From: Thibaut DIRLIK <thibaut.dirlik@xxxxxxxxx>
> Date: 2011/8/24
> Subject: Re: [Openerp-community] how to debug modules ?
> To: Jerzy Orłowski <jerzy.orlowski@xxxxxxxxxxxx>
>
>
> Using Eclipse won't solve the problem, it's just a way to run the commands
> hey said. I think your are doing the right way. I don't know a faster way.
>
>
> 2011/8/24 Jerzy Orłowski <jerzy.orlowski@xxxxxxxxxxxx>
>
>> Use eclipse
>>
>>
>> On 08/24/2011 03:30 PM, Martin Herweg wrote:
>>
>>> Hi !
>>>
>>> I'm in the process of writing my first module.
>>>
>>> what is the best way to debug it ?
>>>
>>> the method I know:
>>>
>>>  * stop the server  (crtl-C ?)
>>>  * strat the sever:
>>>     openerp-server -d mydatabase -u mymodule
>>>
>>> but the start of the server (sometimes) takes a very long time.
>>>
>>> is there a better way to do this ?
>>>
>>>
>>> thank you,
>>> Martin
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openerp-community
>>> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openerp-community
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>>  --
>> Pozdrawiam serdecznie,
>>
>> Jerzy Orłowski
>>
>> Lacan Technologies Group
>> Członek Zarządu ds. technologii
>> Al. Stanów Zjednoczonych 53
>> 04-028 Warszawa
>> tel. +48 (22) 266 01 02 <%2B48%20%2822%29%20266%2001%2002>
>> tel. +48 (22) 292 16 16 <%2B48%20%2822%29%20292%2016%2016>
>> kom. 668 151 245
>> www.lacan.com.pl
>> www.erpsystems.com.pl
>> www.serwerownie.com
>>
>>
>> Lacan Technologies Sp. z o.o. Sąd Rejonowy dla m.st. Warszawy w
>> Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego, KRS:
>> 0000319673, NIP: 521-351-01-01
>>
>> Kapitał zakładowy: 50.000 PLN
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openerp-community
>> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openerp-community
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
>
>

References