Revision: 2610
Author: [email protected]
Date: Mon Aug  3 07:44:19 2009
Log: Edited wiki page through web user interface.
http://code.google.com/p/v8/source/detail?r=2610

Modified:
  /wiki/DebuggerProtocol.wiki

=======================================
--- /wiki/DebuggerProtocol.wiki Mon Aug  3 07:31:05 2009
+++ /wiki/DebuggerProtocol.wiki Mon Aug  3 07:44:19 2009
@@ -122,6 +122,40 @@
   
{"seq":118,"type":"request","command":"evaluate","arguments":{"expression":"a()","frame":3,"disable_break":false}}
   
{"seq":119,"type":"request","command":"evaluate","arguments":{"expression":"[o.a,o.b,o.c]","global":true,"disable_break":true}}
  }}}
+
+== Request `lookup` ==
+
+The request `lookup` is used to lookup objects based on their handle. The  
individual array elements of the body of the result is as described in  
response object serialization below.
+
+{{{
+{ "seq"       : <number>,
+  "type"      : "request",
+  "command"   : "lookup",
+  "arguments" : { "handles"       : <array of handles>,
+                  "includeSource" : <boolean indicating whether the source  
will be included when script objects are returned>,
+                }
+}
+}}}
+
+Response:
+
+{{{
+{ "seq"         : <number>,
+  "type"        : "response",
+  "request_seq" : <number>,
+  "command"     : "lookup",
+  "body"        : <array of serialized objects indexed using their handle>
+  "running"     : <is the VM running after sending this response>
+  "success"     : true
+}
+}}}
+
+Here are a couple of examples.
+
+{{{
+{"seq":117,"type":"request","command":"lookup","arguments":{"handles":"[1]"}}
+{"seq":118,"type":"request","command":"lookup","arguments":{"handles":"[7,12]"}}
+}}}

  == Request `backtrace` ==


--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to