<?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 - examining variables/running commands within the debugger context - Comments</title>
 <link>http://community.activestate.com/forum-topic/examining-variables-runni</link>
 <description>Comments for &quot;examining variables/running commands within the debugger context&quot;</description>
 <language>en</language>
<item>
 <title>re: advanced variable usage</title>
 <link>http://community.activestate.com/forum-topic/examining-variables-runni#comment-2483</link>
 <description>&lt;p&gt;There is no interaction mode for Komodo&#039;s PHP debugging, although I&#039;d suggest you make an enhancement request here (I think it would be a nice feature to add):&lt;br /&gt;
&lt;a href=&quot;http://bugs.activestate.com/query.cgi?product=Komodo&quot;&gt;http://bugs.activestate.com/query.cgi?product=Komodo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order to achieve what you want, you&#039;ll need to do this using the variable or watch debugger window (note: you&#039;ll need a dummy/spare/undefined variable to play with). Once you&#039;ve started debugging, in the variable list, double-click on the dummy variable to popup a dialog to change the value of the variable. Change the value to be &quot;myfunction(123)&quot; and also check the &quot;Interpret as Expression&quot; checkbox. When you click OK the value of the function call will be propagated to the variable.&lt;/p&gt;
&lt;p&gt;Note: You can add watch variables (in the Watch tab), to just see the variables your interested in.&lt;/p&gt;
&lt;p&gt;I believe there is a bug as the variables are not getting sorted correctly.&lt;br /&gt;
&lt;a href=&quot;http://community.activestate.com/forum-topic/php-debug-variable-sortin&quot;&gt;http://community.activestate.com/forum-topic/php-debug-variable-sortin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Todd&lt;/p&gt;
</description>
 <pubDate>Thu, 02 Aug 2007 10:08:13 -0700</pubDate>
 <dc:creator>ToddW</dc:creator>
 <guid isPermaLink="false">comment 2483 at http://community.activestate.com</guid>
</item>
<item>
 <title>examining variables/running commands within the debugger context</title>
 <link>http://community.activestate.com/forum-topic/examining-variables-runni</link>
 <description>&lt;p&gt;I&#039;ve got my PHP script running in the debugger, thanks for the help.&lt;/p&gt;
&lt;p&gt;Now I&#039;d like to be able to run commands to examine my environment when I&#039;m at a breakpoint.  For example, I&#039;d like to run &quot;myfunction(123)&quot; to see what is returned by &quot;myfunction.&quot;  But I can&#039;t seem to find a window to do that in.&lt;/p&gt;
&lt;p&gt;On a related note, I&#039;d like to be able to examine variable contents directly (just by typing &quot;echo $foobar&quot;).  I&#039;d assume this would be in the same place.  I see the list of variables in the bottom-left pane, but I can&#039;t figure out how they&#039;re sorted.&lt;/p&gt;
&lt;p&gt;Many thanks!&lt;/p&gt;
&lt;p&gt;-Chris&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/examining-variables-runni#comments</comments>
 <category domain="http://community.activestate.com/forums/komodo-support-0">Komodo support</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <pubDate>Thu, 02 Aug 2007 04:44:57 -0700</pubDate>
 <dc:creator>ccurvey</dc:creator>
 <guid isPermaLink="false">1233 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
