On Wed, Sep 2, 2009 at 7:24 PM, Shane Caraveo<[email protected]> wrote:
>
>> So, the question is - how do you debug Trac? I can go into sources and
>> set breakpoints with pdb.set_trace() calls, but it is not as
>> convenient as with pure PDB itself. Maybe there are other useful tools
>> or I just do not know something?
>
>  I posted a bug on edgewall a few weeks ago that has profiling and
> debugging support in the wsgi script.  That might be useful for you.

That must be http://trac.edgewall.org/ticket/8507 - well, until I
discovered it I already patched my local Trac code with plenty of
"import pdb;pdb.set_trace()" statements. Setting up a separate wsgi
server with Eclipse or Netbeans is a bit of an overkill for writing
occasional patches. In any way, an example session described in
TracDev namespace would be a nice place to start the next time.

-- 
anatoly t.

--~--~---------~--~----~------------~-------~--~----~
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