Index: Source/core/inspector/InspectorDebuggerAgent.cpp |
diff --git a/Source/core/inspector/InspectorDebuggerAgent.cpp b/Source/core/inspector/InspectorDebuggerAgent.cpp |
index 7f47e056638d16ea8466ad0f04f7f1c0109cd788..6105d825670a0379df03ee2b7f70fac23ae2add9 100644 |
--- a/Source/core/inspector/InspectorDebuggerAgent.cpp |
+++ b/Source/core/inspector/InspectorDebuggerAgent.cpp |
@@ -767,6 +767,15 @@ void ScriptDebugListener::Script::reportMemoryUsage(MemoryObjectInfo* memoryObje |
info.addMember(sourceMappingURL, "sourceMappingURL"); |
} |
+void InspectorDebuggerAgent::setBreakpointInFrontend(const String& scriptId, int lineNumber, int columnNumber) |
+{ |
+ RefPtr<TypeBuilder::Debugger::Location> location = TypeBuilder::Debugger::Location::create() |
+ .setScriptId(scriptId) |
+ .setLineNumber(lineNumber); |
+ location->setColumnNumber(columnNumber); |
+ m_frontend->setBreakpointRequested(location); |
+} |
+ |
void InspectorDebuggerAgent::reset() |
{ |
m_scripts.clear(); |