A new stack guard break flag DEBUGCOMMAND has been introduced. This is used to signal...
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Mar 2009 13:26:21 +0000 (13:26 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 13 Mar 2009 13:26:21 +0000 (13:26 +0000)
commit17b498c957aad17e791494491a6822a38d95525a
tree4b2538b6f68e33413d5f4f52b58be2d18c91b2d2
parent74722e199ff4b68e4dc0d8db946af070a1173bfc
A new stack guard break flag DEBUGCOMMAND has been introduced. This is used to signal debug break due to debugger commands available in the queue for processing. If a stack guard break happens with this flag and not the DEBUGBREAK flag the no debug break event is generated and execution is resumed automatically when all debugger commands in the queue has been processed.

This makes it possible to remote debuggers to just add commands to the queue without having to request a break as well. As soon as any JavaScript executes the debugger commands will be processed and the response send to the remote debugger.

Currently hide this behind a flag (--debugger-auto-break) as the current command line debugger in Chrome is not designed for this new behaviour, whereas the new Chrome developer tools will use it.
Review URL: http://codereview.chromium.org/42173

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1508 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/debug.cc
src/debug.h
src/execution.cc
src/execution.h
src/flag-definitions.h
test/cctest/test-debug.cc