Revision: 3191
Author: peter.rybin
Date: Fri Oct 30 13:49:14 2009
Log: Version command is documented, as committed in r3108
http://code.google.com/p/v8/source/detail?r=3191
Modified:
/wiki/DebuggerProtocol.wiki
=======================================
--- /wiki/DebuggerProtocol.wiki Fri Oct 30 13:37:33 2009
+++ /wiki/DebuggerProtocol.wiki Fri Oct 30 13:49:14 2009
@@ -528,6 +528,38 @@
{"seq":117,"type":"request","command":"clearbreakpoint","arguments":{"type":"function,"breakpoint":1}}
{"seq":118,"type":"request","command":"clearbreakpoint","arguments":{"type":"script","breakpoint":2}}
}}}
+
+== Request `version` =
+
+The request `version` reports version of the running V8.
+
+{{{
+{ "seq" : <number>,
+ "type" : "request",
+ "command" : "version",
+}
+}}}
+
+Response:
+
+{{{
+{ "seq" : <number>,
+ "type" : "response",
+ "request_seq" : <number>,
+ "type" : "request",
+ "body" : { "V8Version": <string, version of V8>
+ }
+ "running" : <is the VM running after sending this response>
+ "success" : true
+}
+}}}
+
+Here is an example.
+
+{{{
+{"seq":1,"type":"request","command":"version"}
+{"seq":134,"request_seq":1,"type":"response","command":"version","success":true,"body":{"V8Version":"1.3.19
(candidate)"},"refs":[],"running":false}
+}}}
= Events =
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---