Hi all, I find it useful as well to just go step-by-step through a code to pinpoint a problem. Yet I haven't found any convinient method for remote debugging; only starting debug mode in PyDev by inserting two lines of code, as I've just described in [1].
With convinient method I mean, just setting a breakpoint and not inserting code just for starting debugging; as a Java developer I know this is working fine with the combinatuion Eclipse / Java / Tomcat Webserver. Does anyone know if this is possible with any Python IDE (preferably with PyDev) ? [1] Remote Debugging: http://trac.edgewall.org/wiki/TracDev/DevelopmentWithEclipseAndPyDev#RemoteDebugging Thanks and happy coding, Franz On Wednesday, September 2, 2009 4:36:01 PM UTC+2, anatoly techtonik wrote: > > 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-dev. For more options, visit https://groups.google.com/groups/opt_out.
