What steps will reproduce the problem?
1. start debugging a program
2. type 'v' for geben-display-context
3. click + signs to drill-down into Local variables/objects
What is the expected output? What do you see instead?
I should be able to drill-down deep into the objects and see the data values.
Instead it stops after the first object and shows CLASSNAME
What version of the product are you using? On what operating system?
geben 0.26
emacs 23.2.1
xdebug-2.1.0RC1
Linux ubuntu
Please provide any additional information below.
For example the 'this' object is usually pretty large and by clicking
drill-down (plus sign) in the context window I could not get past the second
object before seeing "CLASSNAME" entries that hide the data I want to see.
I noticed that the command issued by geben was pulling bad results because of
the page argument:
(cmd) property_get -i 30108 -d 0 -c 0 -n $this->_request->searchInput -p 1
<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="property_get"
transaction_id="30108">
<property name="$this->_request->searchInput" fullname="$this->_request->searchInput" address="139" type="object" classname="stdClass" children="1" numchildren="15" page="1" pagesize="32">
<property name="CLASSNAME" type="string">stdClass</property>
</property>
</response>
BUT this (-p 0) worked:
(cmd) property_get -i 30108 -d 0 -c 0 -n $this->_request->searchInput -p 0
<?xml version="1.0" encoding="iso-8859-1"?>
<response xmlns="urn:debugger_protocol_v1"
xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="property_get"
transaction_id="301">
<property name="$this->_request->searchInput" fullname="$this->_request->searchInput" address="139" type="object" classname="stdClass" children="1" numchildren="15" page="0" pagesize="32">
<property name="NumberOfRec" fullname="$this->_request->searchInput->NumberOfRec" facet="public" address="000000" type="int">50</property>
<property name="StartingRec" fullname="$this->_request->searchInput->StartingRec" facet="public" address="11111" type="int">0</property>
<property name="NumberOfA" fullname="$this->_request->searchInput->NumberOfA" facet="public" address="22222" type="int">1</property>
<property name="ShowPos" fullname="$this->_request->searchInput->ShowPos" facet="public" address="33333" type="int">1</property>
<property name="UserData" fullname="$this->_request->searchInput->UserData" facet="public" address="44444" type="string" size="66" encoding="base64">6M</property>
</property>
</response>
Here is a workaround I found... I just hardcoded the nextpage to zero.
change line 2324 in geben.el
:page nextpage)))
to
:page 0)))
Hope it helps-
Doug
Original issue reported on code.google.com by douglasw...@gmail.com on 31 Mar 2011 at 11:07
Original issue reported on code.google.com by
douglasw...@gmail.com
on 31 Mar 2011 at 11:07