Hello,

Eclipse is just a tool for developping/debugging, but a good tool! With it you'll be able to:
 - place breakpoint
 - trace
 - step into, over,...
 - browse graph call,
 - check variables,
There's also a bazaar pluggin for checkout, branch, commit, push, pull your code.

By the way depending on the code you develop you may need to restart the server but Sometines just going to the administration menu in OERP and reloading may be enought...

However keep in mind that you should start the server by passing args within eclipse in the Run configuration option

Rgds,


__________________________________________________
Damien DELANGLE
Responsable développement commercial
Bureau : +212 (0)522 23 54 44
Skype :   ddelangle

10, rue Ibnou Al Arif
20 100 Casablanca - Maroc
[email protected]
www.kazacube.com




On 08/09/2011 00:36, Graeme Gellatly wrote:
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 <[email protected]>
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 <[email protected]>


---------- Forwarded message ----------
From: Thibaut DIRLIK <[email protected]>
Date: 2011/8/24
Subject: Re: [Openerp-community] how to debug modules ?
To: Jerzy Orłowski <[email protected]>


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 <[email protected]>
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     : [email protected]
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
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
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp




--
Quentin Gérôme

EE
Z
EE-IT SPRL



_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp


_______________________________________________ Mailing list: https://launchpad.net/~openerp-community Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to