Retrieving the current stack depth:
stack_depth -i 9

response:
<response command="stack_depth" transaction_id="9"
    depth="2"></response>


Retrieve stack information:
stack_get -i 11

response:
<response command="stack_get" transaction_id="11">
  <stack where="level1" level="0"
      filename="file:///phpworks/dbgp-example.php"
      lineno="7"></stack>
  <stack where="{main}" level="1"
      filename="file:///phpworks/dbgp-example.php"
      lineno="10"></stack>
</response>