Go to file
sgjesse@chromium.org 95288e916e Changed the debugger message API to receive an object instead of a JSON string.
The object delivered to the debug message handler contains additional information on the current break handling the messages.

Clients which require just JSON message parsing can simply get the JSON using the GetJSON message on the message object to still have the previous behaviour.

  NewMessageHangler(const v8::Debug::Message& message) {
    v8::String::Value val(message.GetJSON());
    OldMessageHandler(Vector<uint16_t>(const_cast<uint16_t*>(*val), val.length()));
  }

Refactored some of the debugger code to use internal handles instead of API handles. Also changed Object to JSObject is some places.

The access to the active context when the break occurred is still not implemented. I will add this in a new CL, as this one is quite big already.
Review URL: http://codereview.chromium.org/99122

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1811 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2009-04-29 08:23:58 +00:00
benchmarks Fixed issue where \x.. and \u.... were rot13-ed in strings (but not in 2009-01-30 13:19:29 +00:00
include Changed the debugger message API to receive an object instead of a JSON string. 2009-04-29 08:23:58 +00:00
samples Add a "read" extension to the shell programs. This global function 2009-04-17 21:04:34 +00:00
src Changed the debugger message API to receive an object instead of a JSON string. 2009-04-29 08:23:58 +00:00
test Changed the debugger message API to receive an object instead of a JSON string. 2009-04-29 08:23:58 +00:00
tools Fix names after move of architecture dependent files. 2009-04-29 00:01:51 +00:00
AUTHORS Issue 63: Running tests fails of there is a dot in the checkout path 2009-02-25 10:09:42 +00:00
ChangeLog Prepare push of version 1.2.1 to trunk. The main reason for this push 2009-04-27 09:14:19 +00:00
LICENSE Remove JSCRE 2009-02-25 08:08:01 +00:00
SConstruct Remove dependency on libstdc++ from test framework. 2009-04-27 10:52:44 +00:00