<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Komodo, Bugzilla, and debugging - Comments</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging</link>
 <description>Comments for &quot;Komodo, Bugzilla, and debugging&quot;</description>
 <language>en</language>
<item>
 <title>Possibly a better solution...</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging#comment-3436</link>
 <description>&lt;p&gt;&amp;gt; I&#039;m kinda unsure on what you mean on the whole mod_perl thing.&lt;/p&gt;
&lt;p&gt;Great!  Debugging CGI is simpler than debugging mod_perl, so avoiding&lt;br /&gt;
that approach is a good thing.&lt;/p&gt;
&lt;p&gt;&amp;gt; Additional regarding setting up &quot;debugging cgi&quot;. following the&lt;br /&gt;
&amp;gt; instructions I&#039;ve run into these problems:&lt;/p&gt;
&lt;p&gt;Which instructions are you referring to?  The Komodo Help, or the bugzilla&lt;br /&gt;
notes?  I ask because our documentation doesn&#039;t refer to &quot;ScriptInterpreterSource&quot;,&lt;br /&gt;
as far as I know.&lt;/p&gt;
&lt;p&gt;&amp;gt; commenting out ScriptInterpreterSource Registry-Strict in my httpd.conf breaks it&lt;/p&gt;
&lt;p&gt;What happens if you leave it in?&lt;/p&gt;
&lt;p&gt;&amp;gt; adding -d to my shebang line breaks it&lt;/p&gt;
&lt;p&gt;&amp;gt; I have no idea what to set &quot;SetEnv DBGP_IDEKEY &quot;&quot;&quot; to&lt;/p&gt;
&lt;p&gt;Setting it to the empty string is fine.  When you use a debugging proxy&lt;br /&gt;
you need to set it to a meaningful value.&lt;/p&gt;
&lt;p&gt;In your httpd.conf are you setting the environment variables you need to&lt;br /&gt;
kick off a remote Perl debugging session?  There&#039;s a bug in the CGI&lt;br /&gt;
Debugging section: those backslashes should be forward slashes for&lt;br /&gt;
the PERL5LIB value, and the PERL5DB value needs to be set to&lt;br /&gt;
&quot;BEGIN { require q/perl5db.pl/ }&quot;.  I&#039;m not sure, and I haven&#039;t installed&lt;br /&gt;
Apache on this machine yet (rebuilt a couple of weeks ago), but&lt;br /&gt;
if you have installed Komodo in a path containing spaces, it might be&lt;br /&gt;
better to use the old-style DOS pathnames in the PERL5LIB setting.&lt;br /&gt;
So mine would be this:&lt;/p&gt;
&lt;p&gt;SetEnv PERL5LIB &quot;c:/PROGRA~1/ACTIVE~2.2/lib/support/dbgp/perllib&quot;&lt;/p&gt;
&lt;p&gt;You still need to make sure perl is invoked with the -d argument,&lt;br /&gt;
and not in the shebang line.  It might be better to have Apache&lt;br /&gt;
launch a shell script wrapper that invokes the bugzilla script in&lt;br /&gt;
a remote debugger session.&lt;/p&gt;
&lt;p&gt;Hope this helps.  Unfortunately I didn&#039;t back up my httpd and mod_perl&lt;br /&gt;
conf files when I rebuilt the machine -- I forgot they were in the&lt;br /&gt;
Apache program files area, and not in my userdata area.  So I can&#039;t&lt;br /&gt;
check this out right away, but it should point you in the right direction.&lt;br /&gt;
--&lt;br /&gt;
Eric Promislow&lt;br /&gt;
Komodo Team&lt;br /&gt;
ActiveState - Dynamic Tools for Dynamic Languages&lt;br /&gt;
&lt;a href=&quot;http://www.ActiveState.com&quot; title=&quot;http://www.ActiveState.com&quot;&gt;http://www.ActiveState.com&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Wed, 07 Nov 2007 22:50:57 +0000</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 3436 at http://community.activestate.com</guid>
</item>
<item>
 <title>We know about the simulate</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging#comment-3434</link>
 <description>&lt;p&gt;We know about the simulate CGI Environment, but it&#039;d be nicer if we could debug in komodo and use firefox&#039;s cookies? (and yes to, debugging live bugzilla cgi scrips).&lt;/p&gt;
&lt;p&gt;The problem is grabbing every one of those cookies we need to properly debug one page, it is a pain.&lt;/p&gt;
&lt;p&gt;I&#039;m kinda unsure on what you mean on the whole mod_perl thing.&lt;/p&gt;
</description>
 <pubDate>Wed, 07 Nov 2007 20:51:09 +0000</pubDate>
 <dc:creator>skyhawk2891</dc:creator>
 <guid isPermaLink="false">comment 3434 at http://community.activestate.com</guid>
</item>
<item>
 <title>Some pointers</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging#comment-3433</link>
 <description>&lt;p&gt;I&#039;m not completely clear on what you&#039;re doing here, but it sounds like you&#039;re&lt;br /&gt;
trying to debug live bugzilla CGI scripts.&lt;/p&gt;
&lt;p&gt;Rather than do this via a live web server, you can simulate CGI debugging&lt;br /&gt;
in Komodo by choosing the &quot;Simulate CGI Environment&quot; in the Debugging&lt;br /&gt;
Options panel that comes up at the start of a debug session, and then&lt;br /&gt;
enter the CGI Environment variables in the appropriate tab.&lt;/p&gt;
&lt;p&gt;On the other hand, you could read the &quot;Debugging Mod_Perl&quot; section of&lt;br /&gt;
the online help, and then follow that.  Debugging mod_perl is&lt;br /&gt;
a grayer area.  It works on Windows for some people, not others.  On&lt;br /&gt;
Unix, it works more reliably, although some people have found they need&lt;br /&gt;
to restart Apache after each request.  In all cases, apache should be&lt;br /&gt;
launched with the -X argument to run it in single-threaded mode.&lt;/p&gt;
</description>
 <pubDate>Wed, 07 Nov 2007 20:45:13 +0000</pubDate>
 <dc:creator>ericp</dc:creator>
 <guid isPermaLink="false">comment 3433 at http://community.activestate.com</guid>
</item>
<item>
 <title>Additional info regarding setting</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging#comment-3432</link>
 <description>&lt;p&gt;Additional regarding setting up &quot;debugging cgi&quot;. following the instructions I&#039;ve run into these problems:&lt;/p&gt;
&lt;p&gt;commenting out ScriptInterpreterSource Registry-Strict in my httpd.conf breaks it&lt;/p&gt;
&lt;p&gt;adding -d to my shebang line breaks it&lt;/p&gt;
&lt;p&gt;I have no idea what to set &quot;SetEnv DBGP_IDEKEY &quot;&quot;&quot; to&lt;/p&gt;
</description>
 <pubDate>Wed, 07 Nov 2007 20:31:32 +0000</pubDate>
 <dc:creator>skyhawk2891</dc:creator>
 <guid isPermaLink="false">comment 3432 at http://community.activestate.com</guid>
</item>
<item>
 <title>Komodo, Bugzilla, and debugging</title>
 <link>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging</link>
 <description>&lt;p&gt;Greetings. We are currently testing several IDE for debugging our homebrew bugzilla, and I have a question regarding yours.&lt;/p&gt;
&lt;p&gt;We ran into a problem with just debugging a simple file (like show hierarchy.cgi)in that it would throw us back to bugzilla login, cause we didn&#039;t have a cookie with all the stuff we need.&lt;br /&gt;
We found a work around to hack in the cookie.&lt;br /&gt;
Ideally we&#039;d like to be able to debug in firefox, so we could have all the cookie handling done there.&lt;/p&gt;
&lt;p&gt;Perhaps I&#039;m missing something?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/komodo-bugzilla-and-debugging#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/windows">Windows</category>
 <pubDate>Wed, 07 Nov 2007 17:09:31 +0000</pubDate>
 <dc:creator>skyhawk2891</dc:creator>
 <guid isPermaLink="false">1602 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
