[xdebug-dev] dbgp dbgp/debugger_protocol.txt paging of arrays/objects/hashes is 0 based.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 23 Jan 2006 20:58:22 +0100

Date: Mon Jan 23 20:58:22 CET 2006
User: Derick Rethans
Directory: dbgp

Log Message:
- Clarified the behavior of paging regarding depths, and that
  paging of arrays/objects/hashes is 0 based.

Modified files:
           dbgp/debugger_protocol.txt (version: 1.5)

[FILE: /dbgp/debugger_protocol.txt]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- dbgp/debugger_protocol.txt:1.4 Wed Nov 03 09:26:23 2004 GMT
+++ dbgp/debugger_protocol.txt Mon Jan 23 18:58:22 2006 GMT
@@ -2,7 +2,7 @@
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 :Version: 1.0
-:Status: draft 14
+:Status: draft 15
 :Authors: - Shane Caraveo, ActiveState <shanec[@]ActiveState.com>
           - Derick Rethans <derick[@]derickrethans.nl>
 
@@ -1278,9 +1278,11 @@
 a property to dig further into the tree. Data types are defined
 further in section 7.12 below.
 
-The number of children sent is defined by the debugger engine
-unless otherwise defined by sending the feature_set command with
-the max_children argument. ::
+The number of children sent is defined by the debugger engine unless
+otherwise defined by sending the feature_set command with the
+max_children argument. If max_depth > 1, irregardless of the page
+argument, the childrens pages are always the first page. Children are
+only returned if max_depth > 0 and max_children > 0. ::
 
     <property
         name="short_name"
@@ -1321,7 +1323,7 @@
                     returned, then the page attribute, in combination
                     with the pagesize attribute will define where in
                     the array or object these children should be
- located.
+ located. The page number is 0-based.
     pagesize the size of each page of data, defaulted by the
                     debugger engine, or negotiated with feature_set
                     and max_children
@@ -2066,17 +2068,25 @@
 
 A. ChangeLog
 ============
+2006-01-23
+
+- 7.11 Clarified the behavior of paging regarding depths, and that
+ paging of arrays/objects/hashes is 0 based.
+- draft 15
+
 2004-11-03
+
 - 7.12.1 Added the 'undefined' type.
 
 2004-10-28
+
 - 6 Clarify encoding for data passed in commands with the -- option.
 - 7.13 Clarify the default encoding for property values.
 
 2004-05-16
 
 - 5.3 add address and port attributes to the proxyinit element returned to the
- ide by the proxy.
+ ide by the proxy.
 
 2004-05-12
 
Received on Mon Jan 23 2006 - 20:58:27 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST