<?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 - [SOLVED] Debugging doesn&amp;#039;t work on my Osx [Komodo 4.3.2] - Comments</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2</link>
 <description>Comments for &quot;[SOLVED] Debugging doesn&#039;t work on my Osx [Komodo 4.3.2]&quot;</description>
 <language>en</language>
<item>
 <title>Many thanks to all for your</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5353</link>
 <description>&lt;p&gt;Many thanks to all for your help.&lt;/p&gt;
</description>
 <pubDate>Fri, 09 May 2008 03:45:06 -0700</pubDate>
 <dc:creator>kimu</dc:creator>
 <guid isPermaLink="false">comment 5353 at http://community.activestate.com</guid>
</item>
<item>
 <title>Also, if you are using</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5342</link>
 <description>&lt;p&gt;Also, if you are using Firefox, check out this extension for xdebug:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/3960&quot; title=&quot;https://addons.mozilla.org/en-US/firefox/addon/3960&quot;&gt;https://addons.mozilla.org/en-US/firefox/addon/3960&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;There are some other ideas about this on this thread:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://community.activestate.com/forum-topic/toggle-php-debugging&quot; title=&quot;http://community.activestate.com/forum-topic/toggle-php-debugging&quot;&gt;http://community.activestate.com/forum-topic/toggle-php-debugging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 12:08:17 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 5342 at http://community.activestate.com</guid>
</item>
<item>
 <title>To prevent Komodo from</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5340</link>
 <description>&lt;p&gt;To prevent Komodo from listening for debugger requests, just go to &lt;/p&gt;
&lt;p&gt;Debug / Listen for Remote Debugger&lt;/p&gt;
&lt;p&gt;to toggle Komodo&#039;s debugger listener.&lt;/p&gt;
&lt;p&gt;For convenience, you can also bind a keybinding to this command in&lt;/p&gt;
&lt;p&gt;Preferences / Editor / Keybindings&lt;/p&gt;
&lt;p&gt;The command is &#039;Debugger: Listen for Remote Debugger&#039; and is not bound to a keybinding by default.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 12:03:47 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 5340 at http://community.activestate.com</guid>
</item>
<item>
 <title>re: start/stop xdebug</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5339</link>
 <description>&lt;p&gt;That does seem strange that additional requests without the XDEBUG query string are also triggering debugging (that sounds like a bug to me which you may want to report).&lt;/p&gt;
&lt;p&gt;You may want to try this little firefox helper extension to trigger xdebug on/off:&lt;br /&gt;
&lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/3960&quot; title=&quot;https://addons.mozilla.org/en-US/firefox/addon/3960&quot;&gt;https://addons.mozilla.org/en-US/firefox/addon/3960&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or, alternatively there is a bookmark that does the same thing:&lt;br /&gt;
&lt;a href=&quot;http://community.activestate.com/forum-topic/toggle-php-debugging&quot; title=&quot;http://community.activestate.com/forum-topic/toggle-php-debugging&quot;&gt;http://community.activestate.com/forum-topic/toggle-php-debugging&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 12:00:00 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 5339 at http://community.activestate.com</guid>
</item>
<item>
 <title>Thanks!!!</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5338</link>
 <description>&lt;p&gt;Komodo preferences and php.ini was already correct. I&#039;ve discovered that I have to map every application I have on the web server to debug it.&lt;/p&gt;
&lt;p&gt;Your tips and expecially the example picture you give me have been very precious. Without the picture I couldn&#039;t figure out how to map URIs correctly.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;It seems that when Komodo starts a debugging session with an ip it starts a debugging session to every url requested to that ip.&lt;br /&gt;
This is a bit boring cause sometimes I don&#039;t want to debug my whole web server :-). I really don&#039;t understand how to stop (definitely) a debug session with Komodo. When I request an url without the xdebug query string why it starts a debug? Do you know if there is a killer procedure to stop the debugger?&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 11:53:44 -0700</pubDate>
 <dc:creator>kimu</dc:creator>
 <guid isPermaLink="false">comment 5338 at http://community.activestate.com</guid>
</item>
<item>
 <title>A few points</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comment-5337</link>
 <description>&lt;p&gt;A few points to help you make sense of what is going on:&lt;/p&gt;
&lt;p&gt;1. Komodo may not be opening the script for a couple of reasons:&lt;br /&gt;
a) in Preferences / Debugger, you have set the initial break to &#039;run to first breakpoint&#039;. Try setting this to &#039;break on first executable line&#039; instead.&lt;br /&gt;
b) somewhat related, make sure that you are loading xdebugin php.ini using:&lt;/p&gt;
&lt;p&gt;zend_extension=/path/to/xdebug.so&lt;/p&gt;
&lt;p&gt;and *not*&lt;/p&gt;
&lt;p&gt;extension=xdebug.so&lt;/p&gt;
&lt;p&gt;Breakpoints in Komodo will not work using the second method.&lt;/p&gt;
&lt;p&gt;2. you may have mapped URIS leftover from an older version of Komodo, and the mapped uri system was fixed recently in a way that may break older mappings. Try this:&lt;br /&gt;
a) delete any current mapped uris related to your vm server&lt;br /&gt;
b) try initating a debugging session with the initial break behavior set to &#039;break on first line&#039;. &lt;/p&gt;
&lt;p&gt;When Komodo steps into the top-level script, right-click on the file tab and select the option &#039;Create Mapped Uri&#039;. In the dialog you will see an odd-looking file:// path in the top field. Adjust this value to be the top-level directory of your application. In the bottom field, browse to the folder or remote folder where your source files are located, using the method you typically use for editing these files. Mine looks like this:&lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;inline none&quot;&gt;&lt;img src=&quot;http://community.activestate.com/files/images/KomodoScreenSnapz008.png&quot; alt=&quot;mapped-uri-dlg&quot; title=&quot;mapped-uri-dlg&quot; class=&quot;image _original&quot; height=&quot;170&quot; width=&quot;383&quot;&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In the above case, I am debugging code on a web server called &#039;dexter&#039;, and accessing the files via sftp. If you are using SAMBA and a &#039;local share&#039; instead, browse using the &#039;Local&#039; button instead.&lt;/p&gt;
&lt;p&gt;Seems complicated I know, but it works great once it is set up correctly. Post back if you run into problems.&lt;/p&gt;
&lt;p&gt;--&lt;br /&gt;
JeffG&lt;/p&gt;
</description>
 <pubDate>Thu, 08 May 2008 11:01:00 -0700</pubDate>
 <dc:creator>jeffg</dc:creator>
 <guid isPermaLink="false">comment 5337 at http://community.activestate.com</guid>
</item>
<item>
 <title>[SOLVED] Debugging doesn&#039;t work on my Osx [Komodo 4.3.2]</title>
 <link>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2</link>
 <description>&lt;p&gt;I&#039;ve been using Komodo before to buy a Macbook, when I worked with Ubuntu.&lt;br /&gt;
I have never had problem with debugging, but from the day I installed this update debugging isn&#039;t working properly anymore.&lt;/p&gt;
&lt;p&gt;When I start a xdebug session, komodo receives the request and it opens the debug panel, but it doesn&#039;t open the file which should be debugged.&lt;br /&gt;
I can see on the panel that it breaks at the first line, but it doesn&#039;t show me any page where to follow the debugging flow.&lt;/p&gt;
&lt;p&gt;I&#039;ve also another problem. When I start a xdebug session it never ends. Ones the debug terminate, if I request the same page without putting in the query string ?XDEBG_SESSION_START=key it start a debug anyway.&lt;br /&gt;
I can close the browser, reopen it and retype the same url and Komodo inform me all the time that a debug session has been requested also if I don&#039;t ask for it.&lt;br /&gt;
The crazy thing is that if I ask to debug a file in a specific folder of my web server it tries to debug every single file of my web server also if it isn&#039;t in that folder.&lt;br /&gt;
&lt;a href=&quot;http://192.168.244.129&quot; title=&quot;http://192.168.244.129&quot;&gt;http://192.168.244.129&lt;/a&gt; is my web server ip. If a request to debug index.php under test (...129/test/index.php?XDEBUG_SESSION_START=key) it debug everything that start with that ip.&lt;/p&gt;
&lt;p&gt;My web server is a virtual server running with VmWare Fusion. Is a linux installation with apache2 and php 5.2.  &lt;/p&gt;
&lt;p&gt;Hope that someone could help me, thanks.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/debugging-doesnt-work-my-osx-komodo-4-3-2#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/os-x-leopard">OS X Leopard</category>
 <pubDate>Thu, 08 May 2008 06:44:31 -0700</pubDate>
 <dc:creator>kimu</dc:creator>
 <guid isPermaLink="false">2300 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
