← Back to team overview

openerp-community team mailing list archive

Re: Fwd: how to debug modules ?

 

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 <mailto:thibaut.dirlik@xxxxxxxxx>>
Date: 2011/8/24
Subject: Re: [Openerp-community] how to debug modules ?
To: Jerzy Orłowski <jerzy.orlowski@xxxxxxxxxxxx <mailto: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 <mailto: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@xxxxxxxxxxxxxxxxxxx
        <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~openerp-community
        <https://launchpad.net/%7Eopenerp-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 <tel:%2B48%20%2822%29%20266%2001%2002>
    tel. +48 (22) 292 16 16 <tel:%2B48%20%2822%29%20292%2016%2016>
    kom. 668 151 245 <tel:668%20151%20245>
    www.lacan.com.pl <http://www.lacan.com.pl>
    www.erpsystems.com.pl <http://www.erpsystems.com.pl>
    www.serwerownie.com <http://www.serwerownie.com>


    Lacan Technologies Sp. z o.o. Sąd Rejonowy dla m.st <http://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@xxxxxxxxxxxxxxxxxxx
    <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~openerp-community
    <https://launchpad.net/%7Eopenerp-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


Follow ups

References