Added a debugger call to run a JavaScript function in the debugger. When called the...
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 27 Nov 2008 08:01:27 +0000 (08:01 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 27 Nov 2008 08:01:27 +0000 (08:01 +0000)
commit80c02907147a36b9e52c4ed3a14cbb4308f34e6d
tree575064921d13d2e5bb6ce5e0c47cea22f04b8544
parent75eda4766f4170d97917fc98c393e32823fea5ee
Added a debugger call to run a JavaScript function in the debugger. When called the debugger will be entered and the JavaScript function will be called with the debugger ExecutionState object as its first parameter.

This makes it possible to get information like current line number, current script resource, backtrace information etc. which is not part of the normal API.
Review URL: http://codereview.chromium.org/12472

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@854 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
include/v8-debug.h
src/api.cc
src/debug.cc
src/debug.h
test/cctest/test-debug.cc