Williams, Stanley E kirjoitti:
> Piotr and Jani:
> 
> I have been able to set up a development environment allowing me to step
> into the Trc source code after setting a breakpoint within a plugin.
> For some reason I am having dificulty setting breakpoints inside Trac
> itself.  I will have to develop a desk instruction to describe my
> development environment and source tree from within the Eclipse project.
> I am currently using Eclipse 3.4 Ganymede.
> 
> --
> Stan williams
>  
> 
> -----Original Message-----
> From: Jani Tiainen [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 04, 2008 6:12 AM
> To: [email protected]
> Subject: [Trac-dev] Re: Trac Plugin development using the Eclipse IDE
> andPyDev
> 
> 
> Piotr Kuczy?ski (WAYN.COM) kirjoitti:
>> I was following your directions, unfortunatelly I cant make Eclipse 
>> stop on my breakpoints inside TRAC. DOes anyone scucessed on this?
> 
> I'm having exactly same problem and as I understood it's somehow known
> problem with programs that launches new threads.
> 
> I'm running windows XP, latest Python 2.5.something.
> 
> Funny thing is that I can stop in plugin code but not in Trac itself.


Catch to have breakpoint to work in Trac itself is _not_ to have any 
references in python path to Trac sources.

Basically it means that you can't install Trac on your system and 
develop same time.

I noticed this few days ago when I cleaned up all traces from Trac. 
Specially 0.11 is a bit "dangerous" since you easily can install it in 
development mode.

I wrote this in Trac wikipage too:

http://trac.edgewall.org/wiki/TracDev/DevelopmentWithEclipseAndPyDev

It could be useful to have dediacted sandbox python environment created 
with virtual env (described in beginning of 
http://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup)

Hope that this helps to pinpoint problem.

-- 

Jani Tiainen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to