summaryrefslogtreecommitdiff
path: root/Plugins/skins/libs/v8-debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/skins/libs/v8-debug.h')
-rw-r--r--Plugins/skins/libs/v8-debug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Plugins/skins/libs/v8-debug.h b/Plugins/skins/libs/v8-debug.h
index 4f68143..7da4f98 100644
--- a/Plugins/skins/libs/v8-debug.h
+++ b/Plugins/skins/libs/v8-debug.h
@@ -253,9 +253,12 @@ class EXPORT Debug {
static bool SetDebugEventListener(v8::Handle<v8::Object> that,
Handle<Value> data = Handle<Value>());
- // Break execution of JavaScript.
+ // Schedule a debugger break to happen when JavaScript code is run.
static void DebugBreak();
+ // Remove scheduled debugger break if it has not happened yet.
+ static void CancelDebugBreak();
+
// Break execution of JavaScript (this method can be invoked from a
// non-VM thread) for further client command execution on a VM
// thread. Client data is then passed in EventDetails to