Hello, I've setup Trac environment as described on TracDev/ DevelopmentEnvironmentSetup pages (valuable info indeed), but now I need to get to the source of mysterious Error (Error when calling the metaclass bases function() argument 1 must be code, not str)
Logging console in DEBUG mode didn't provide enough info to pinpoint the problem, so I've tried PDB to go step-by-step until the offending line, but PDB has one big flaw - it doesn't understand threads. When I set breakpoint at the code that is executed in thread PDB skips it. 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? Thanks. -- anatoly y. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
