Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1042)

Unified Diff: Source/core/inspector/InjectedScriptHost.cpp

Issue 14294004: Implementing console command 'debug'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InjectedScriptHost.cpp
diff --git a/Source/core/inspector/InjectedScriptHost.cpp b/Source/core/inspector/InjectedScriptHost.cpp
index 69857c59c4d4f6c7be278e315cc069079c1334a6..3279a5d1351323f3d8582af55b6c28323ae1df83 100644
--- a/Source/core/inspector/InjectedScriptHost.cpp
+++ b/Source/core/inspector/InjectedScriptHost.cpp
@@ -157,6 +157,10 @@ ScriptDebugServer& InjectedScriptHost::scriptDebugServer()
return m_debuggerAgent->scriptDebugServer();
}
+void InjectedScriptHost::setBreakpoint(const String& scriptId, int lineNumber, int columnNumber)
+{
+ m_debuggerAgent->setBreakpointInFrontend(scriptId, lineNumber, columnNumber);
+}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698