Author: [email protected]
Date: Thu Jan 15 04:04:44 2009
New Revision: 1077
Modified:
wiki/DebuggerProtocol.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/DebuggerProtocol.wiki
==============================================================================
--- wiki/DebuggerProtocol.wiki (original)
+++ wiki/DebuggerProtocol.wiki Thu Jan 15 04:04:44 2009
@@ -4,7 +4,7 @@
V8 has support for debugging the JavaScript code running in it. There are
two API's for this a function based API using JavaScript objects and a
message based API using a JSON based protocol. The function based API can
be used by an in-process debugger agent, whereas the message based API can
be used out of process as well.
-The debugger protocol is based on [http://www.json.org/ JSON]). Each
protocol package is defined in terms of JSON and is transmitted as a string
value. All packages have two basic elements `seq` and `type`.
+The debugger protocol is based on [http://www.json.org/ JSON]). Each
protocol packet is defined in terms of JSON and is transmitted as a string
value. All packets have two basic elements `seq` and `type`.
{{{
{ "seq" : <number>,
@@ -13,9 +13,9 @@
}
}}}
-The element `seq` holds the sequence number of the package. And element
type is the type of the package. The type is a string value with one of the
following values `"request"`, `"response"` or `"event"`.
+The element `seq` holds the sequence number of the packet. And element
type is the type of the packet. The type is a string value with one of the
following values `"request"`, `"response"` or `"event"`.
-A `"request"` package has the following structure:
+A `"request"` packet has the following structure:
{{{
{ "seq" : <number>,
@@ -25,7 +25,7 @@
}
}}}
-A `"response"` package has the following structure. If `success` is true
`body` will contain the response data. If `success` is false `message` will
contain an error message.
+A `"response"` packet has the following structure. If `success` is true
`body` will contain the response data. If `success` is false `message` will
contain an error message.
{{{
{ "seq" : <number>,
@@ -39,7 +39,7 @@
}
}}}
-An `"event"` package has the following structure:
+An `"event"` packet has the following structure:
{{{
{ "seq" : <number>,
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---