How debug bugzilla

David Miller justdave at bugzilla.org
Wed Nov 19 20:45:07 UTC 2008


Liu, Ye wrote on 11/15/08 9:14 PM:

> I am trying to Komodo IDE to debug bugzilla remotely: the first setback
> I have is that when I changed index.cgi from
> 
> #!/usr/bin/perl –wT to #!/usr/bin/perl -d –wT, I cannot run bugzilla
> correctly. The error.log of apache is showing as follows. My questions are:
> 
> 1. Is that possible to use Komodo to debug bugzilla?
> 
> 2. What debugger you recommend to debug bugzilla if Komodo is not
> recommended?

In my experience, it's really hard (like almost impossible) to use an
IDE-based debugger on a web application, because the code is designed to
be run via a web server, and it just doesn't do well standalone.

There are several debuggers you can hook in that do various tasks and
write to log files though, which work well.  The DBI Profiler and DProf
are two that spring to mind.  I'm sure there's others.

-- 
Dave Miller                                   http://www.justdave.net/
System Administrator, Mozilla Corporation      http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System  http://www.bugzilla.org/



More information about the developers mailing list