diff options
Diffstat (limited to 'chrome/browser/render_view_host.h')
-rw-r--r-- | chrome/browser/render_view_host.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/render_view_host.h b/chrome/browser/render_view_host.h index 865ffd6..325ab81 100644 --- a/chrome/browser/render_view_host.h +++ b/chrome/browser/render_view_host.h @@ -236,7 +236,7 @@ class RenderViewHost : public RenderWidgetHost { ConsoleMessageLevel level); // Send command to the debugger - void SendToDebugger(const std::wstring& cmd); + void DebugCommand(const std::wstring& cmd); // Attach to the V8 instance for debugging void DebugAttach(); @@ -244,9 +244,10 @@ class RenderViewHost : public RenderWidgetHost { // Detach from the V8 instance for debugging void DebugDetach(); - // Cause the V8 debugger to trigger a breakpoint - // (even if no JS code is running) - void DebugBreak(); + // Cause the V8 debugger to trigger a debug break. If the force flag is set + // force a debug break even if no JS code is running (this actually causes a + // simple JS script to be executed). + void DebugBreak(bool force); // Edit operations. void Undo(); |