It is currently Tue May 22, 2012 11:40 pm

All times are UTC + 2 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Debug modules with Eclipse+PyDev
PostPosted: Mon Jul 11, 2011 6:51 pm 
Offline

Joined: Mon Jul 11, 2011 6:14 pm
Posts: 23
Location: Lisbon, Portugal
I managed to install OpenERp in an Ubuntu box, with Eclipse+PyDev.
I have de Bazaar source code for server and GTK client and am able to run both from Eclipse in debug mode.

However, I'm having trouble getting the debugger to the module specific Python code.
I think I should get to that debugging the server, but I only get to the loop on the Agent.runner method and similar server generic handling methods.

Where should I be place breakpoint in order to get into the meodule's classes python code?
Can anyone advise?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Debug modules with Eclipse+PyDev
PostPosted: Mon Jul 11, 2011 8:34 pm 
Offline

Joined: Wed Jan 27, 2010 6:21 pm
Posts: 797
Location: Auckland, NZ
honestly it sounds like you have it right. just make sure it is active code, not a class or def line, blank line or comment

_________________
Graeme


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 2 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:

Protected by Anti-Spam ACP