<?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 - PHP debug variable sorting (fixed in Komodo 4.4) - Comments</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin</link>
 <description>Comments for &quot;PHP debug variable sorting (fixed in Komodo 4.4)&quot;</description>
 <language>en</language>
<item>
 <title>The Fat Lady hasn&#039;t sung</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-5324</link>
 <description>&lt;p&gt;The Fat Lady hasn&#039;t sung yet!&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Wed, 07 May 2008 14:08:07 -0700</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 5324 at http://community.activestate.com</guid>
</item>
<item>
 <title>It&#039;s made it in 4.4</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-5320</link>
 <description>&lt;p&gt;PHP variable sorting has made it into 4.4a1 --  (along with some other stuff I think) hooray!!!!, close topic!&lt;/p&gt;
</description>
 <pubDate>Wed, 07 May 2008 12:53:12 -0700</pubDate>
 <dc:creator>peter2108</dc:creator>
 <guid isPermaLink="false">comment 5320 at http://community.activestate.com</guid>
</item>
<item>
 <title>Cool ... as long as it&#039;s on</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4947</link>
 <description>&lt;p&gt;Cool ... as long as it&#039;s on a roadmap somewhere, I can live with that.  Just wanted to make sure it hadn&#039;t slipped through the cracks.  I can&#039;t tell you what a huge help that patch has been for me.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Sat, 05 Apr 2008 12:40:26 -0700</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4947 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: for 4.3.x</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4942</link>
 <description>&lt;p&gt;No, sorry Hugh, but the bug has been moved to Komodo 4.4.&lt;/p&gt;
&lt;p&gt;You&#039;ll need to patch again next week...&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Sat, 05 Apr 2008 09:28:24 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 4942 at http://community.activestate.com</guid>
</item>
<item>
 <title>One last favor - can we get</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4923</link>
 <description>&lt;p&gt;One last favor - can we get this patch rolled into 4.3.x?  It&#039;s a bit of a pain having to re-apply it every time a minor update rolls out ... :(&lt;/p&gt;
&lt;p&gt;IMHO, it&#039;s ready for prime time - still a few little glitches, but a darn site better than no sorting!&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Fri, 04 Apr 2008 13:21:01 -0700</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4923 at http://community.activestate.com</guid>
</item>
<item>
 <title>Thanks!</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4205</link>
 <description>&lt;p&gt;Thanks a lot Hugh - I had no success with patching on my Linux machine despite thrashing about with line endings my hunks FAILED (but only some, three succeeded, two with fuzz factor 1, one needing no fuzz at all). But everything worked like a charm following your suggestions. I almost couldn&#039;t believe it! BTW the v2 patch seems to work for 4.3 alpha as well. The patch is great too - if somewhat tardy ;-)&lt;/p&gt;
&lt;p&gt;-- Peter&lt;/p&gt;
</description>
 <pubDate>Fri, 15 Feb 2008 11:21:09 -0800</pubDate>
 <dc:creator>peter2108</dc:creator>
 <guid isPermaLink="false">comment 4205 at http://community.activestate.com</guid>
</item>
<item>
 <title>It&#039;s ALIVE!!!!</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4188</link>
 <description>&lt;p&gt;Todd, you rule.&lt;/p&gt;
&lt;p&gt;Your M&amp;amp;M&#039;s will be in the mail.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Wed, 13 Feb 2008 14:21:15 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4188 at http://community.activestate.com</guid>
</item>
<item>
 <title>Just FYI, you can do the</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4183</link>
 <description>&lt;p&gt;Just FYI, you can do the patching on Windows, but you&#039;ll need to grab UnxUtils from:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://sourceforge.net/projects/unxutils&quot; title=&quot;http://sourceforge.net/projects/unxutils&quot;&gt;http://sourceforge.net/projects/unxutils&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;... which gives you &#039;patch&#039; (amongst other indispensible UNIX command line apps), and you can grab a commandline zip / unzip from:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/&quot; title=&quot;ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/&quot;&gt;ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you are on x86, you need zip232xN.zip and unz552xN.exe.  Any other platform you&#039;ll have to check the README for which files are which.&lt;/p&gt;
&lt;p&gt;IMPORTANT NOTE - to get the patching to work on winders, you&#039;ll also have to open the patch file in something like WordPad and save it as &quot;Text - DOS&quot;, otherwise your hunks will fail due to line ending problems.  Bad DOS, No Donut.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Wed, 13 Feb 2008 14:13:02 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4183 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: updated patch</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4172</link>
 <description>&lt;p&gt;I&#039;ve updated the variable sorting patch to hopefully fix the following problems:&lt;br /&gt;
* ensure &quot;...Next Page...&quot; is the last item instead of the first.&lt;br /&gt;
* ensure variable depth is maintained correctly when refreshing a variable that has previously been toggled open.&lt;/p&gt;
&lt;p&gt;The patch command described in the bug should work the same on Windows / Linux (copying across from windows and linux to do the patching should also work in the same way).&lt;/p&gt;
&lt;p&gt;The hunks should not fail as long as the &quot;variableOutlinerView.js&quot; file extracted from the komodo.jar file was from the Komodo 4.2.1 build and that you correctly renamed the &quot;variableOutlinerView.unprocessed.js&quot; string in the patch file to be &quot;variableOutlinerView.js&quot;.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Wed, 13 Feb 2008 12:38:28 -0800</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 4172 at http://community.activestate.com</guid>
</item>
<item>
 <title>Thank you</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4170</link>
 <description>&lt;p&gt;The variables are in order at last!  Thanks ever so much.&lt;br /&gt;
BTW is there any help on applying a patch. I&#039;m on Windows so copied the .jar archive to a Linux machine and unpacked there intending to run &#039;patch&#039;. I did but it did not work - none of the &#039;hunks&#039; were applied. I had to fix it by hand. My command was &#039;patch  &#039; Is that the right one?&lt;/p&gt;
</description>
 <pubDate>Wed, 13 Feb 2008 12:24:02 -0800</pubDate>
 <dc:creator>peter2108</dc:creator>
 <guid isPermaLink="false">comment 4170 at http://community.activestate.com</guid>
</item>
<item>
 <title>I take it back</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4164</link>
 <description>&lt;p&gt;After looking at the code in variableOutlinerView.js to see if I could fix the problem I reported above, I unreservedly take back my comment about sorting a list not being rocket science.  Not only is this rocket science, it&#039;s rocket science done in JavaScript.  JavaScience.&lt;/p&gt;
&lt;p&gt;Needless to say I didn&#039;t fix it.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Wed, 13 Feb 2008 08:09:52 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4164 at http://community.activestate.com</guid>
</item>
<item>
 <title>Spoke too soon</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4144</link>
 <description>&lt;p&gt;OK, another problem ...&lt;/p&gt;
&lt;p&gt;If I have an array already open in the list when the debugger breaks, the elements from that array will get sorted into the main list, rather than under the array.&lt;/p&gt;
&lt;p&gt;So instead of ...&lt;/p&gt;
&lt;pre&gt;
aaa
bbb
  -abb
  -bbb
  -cbb
  -dbb
  -ebb
ccc
ddd
&lt;/pre&gt;&lt;p&gt;
... it looks like ...&lt;/p&gt;
&lt;pre&gt;
aaa
  -abb
bbb
  -bbb
  -cbb
ccc
  -dbb
ddd
  -ebb
&lt;/pre&gt;&lt;p&gt;
Or something like that.  If I could attach a picture, I could save a thousand words.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Mon, 11 Feb 2008 17:48:45 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4144 at http://community.activestate.com</guid>
</item>
<item>
 <title>Works for me ... kinda</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4141</link>
 <description>&lt;p&gt;Well, I think you may have run across that bug I reported a few weeks ago, where sometimes &quot;Next Page&quot; just doesn&#039;t do anything:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://community.activestate.com/forum-topic/next-page-flakiness&quot; title=&quot;http://community.activestate.com/forum-topic/next-page-flakiness&quot;&gt;http://community.activestate.com/forum-topic/next-page-flakiness&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On my newly sorted lists, Next Page is working &quot;normally&quot; for me, which means about 8 out of 10 debug sessions it will work.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Mon, 11 Feb 2008 15:07:09 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4141 at http://community.activestate.com</guid>
</item>
<item>
 <title>Re: variable sorting</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4129</link>
 <description>&lt;p&gt;Yes, I also noticed the sorting moved &quot;...Next Page...&quot; to the top of the list. Something worse (at least on my machine) was that clicking on the &quot;...Next Page...&quot; did not do anything, do you also get this problem? I had to increase the &quot;number of children&quot; shown per page in Komodo&#039;s preferences (&quot;Debugger-&amp;gt;Advanced&quot; category) to ensure I was receiving all of the variables.&lt;/p&gt;
</description>
 <pubDate>Sun, 10 Feb 2008 21:10:00 -0800</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 4129 at http://community.activestate.com</guid>
</item>
<item>
 <title>Whooo HOOOOOOOOOO!!!!!</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comment-4128</link>
 <description>&lt;p&gt;Thank you Todd, you rule.  And on a Sunday, too.  Looks like both of us need to get lives.&lt;/p&gt;
&lt;p&gt;Just one small, itsy-bitsy little issue, it shows the &quot;...Next Page...&quot; at the top of the list instead of the bottom.  Which is sub-optimal.&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <pubDate>Sun, 10 Feb 2008 19:50:18 -0800</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">comment 4128 at http://community.activestate.com</guid>
</item>
<item>
 <title>PHP debug variable sorting (fixed in Komodo 4.4)</title>
 <link>http://community.activestate.com/forum-topic/php-debug-variable-sortin</link>
 <description>&lt;p&gt;Having said my life would be complete with a working &quot;go to definition&quot; and no default breakpoint, I did forget one (for me) big issue which burns up a lot of PHP debug time, which is the unsorted variable list.&lt;/p&gt;
&lt;p&gt;During Perl debugging, the variable list is sorted alphabetically by Name.  But in PHP debugging, there doesn&#039;t seem to be any logic to the sort order.&lt;/p&gt;
&lt;p&gt;As you know, I&#039;m doing a lot of vBulletin work, and vB is HUGE.  Which means I&#039;m dealing with many hundreds, sometimes thousands, of variables in scope at any time.&lt;/p&gt;
&lt;p&gt;The &quot;type the first few letters&quot; trick helps some ... but because I&#039;m a Good Boy and use a very structured naming convention, I tend to have a lot of variables that are prefixed with things like product_class_ (like blog_session_sid).  Which makes the completion technique a pain.  And of course I can add a Watch by hand, but that means (*gasp*) extra mouse clicks and typing and pushing buttons.&lt;/p&gt;
&lt;p&gt;As a result, when I first start debugging a given PHP scenario, it can take 5 minutes or more to locate and add everything I need to the Watch list.  Versus about 10 seconds in Perl.&lt;/p&gt;
&lt;p&gt;So for my life to be complete, PHP variables would have to be sorted during debugging.  :)&lt;/p&gt;
&lt;p&gt;   -- hugh&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/php-debug-variable-sortin#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Wed, 11 Apr 2007 12:53:17 -0700</pubDate>
 <dc:creator>cheesegrits</dc:creator>
 <guid isPermaLink="false">739 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
