← Back to team overview

openerp-community team mailing list archive

Re: Fwd: how to debug modules ?

 

Not to mention that it will help to eradicate development mistakes that
require restarting in the first place.  And it has a debug mode, plus break
on exception.

2011/8/25 Quentin Gérôme <quentin.gerome@xxxxxxxxxxxx>

> It will solve a part of the problem because you can create "Run
> Configurations" to make easier the launch and stop of the the server.
>
> 2011/8/24 Thibaut DIRLIK <thibaut.dirlik@xxxxxxxxx>
>
>>
>>
>> ---------- 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<https://launchpad.net/%7Eopenerp-community>
>>>> Post to     : openerp-community@lists.**launchpad.net<openerp-community@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~**openerp-community<https://launchpad.net/%7Eopenerp-community>
>>>> More help   : https://help.launchpad.net/**ListHelp<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
>>> tel. +48 (22) 292 16 16
>>> 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<https://launchpad.net/%7Eopenerp-community>
>>> Post to     : openerp-community@lists.**launchpad.net<openerp-community@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~**openerp-community<https://launchpad.net/%7Eopenerp-community>
>>> More help   : https://help.launchpad.net/**ListHelp<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
>>
>>
>
>
> --
> *
> Quentin Gérôme
>
> EE
> Z
> EE-IT SPRL
>
> *
> Mail : quentin.gerome@xxxxxxxxxxxx
> Phone : +32 478 93 87 10
>
>
> _______________________________________________
> 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
>
>

Follow ups

References