| Index: src/inspector/v8-debugger-script.cc
|
| diff --git a/src/inspector/v8-debugger-script.cc b/src/inspector/v8-debugger-script.cc
|
| index 200cdc71a26da41ae8bba76d30144ad5a2eca0f7..5123cc5c59b9ada5288b4d71e5e6cb0317e6ba89 100644
|
| --- a/src/inspector/v8-debugger-script.cc
|
| +++ b/src/inspector/v8-debugger-script.cc
|
| @@ -172,10 +172,12 @@ class ActualScript : public V8DebuggerScript {
|
|
|
| bool getPossibleBreakpoints(
|
| const v8::debug::Location& start, const v8::debug::Location& end,
|
| + bool ignoreNestedFunctions,
|
| std::vector<v8::debug::Location>* locations) override {
|
| v8::HandleScope scope(m_isolate);
|
| v8::Local<v8::debug::Script> script = m_script.Get(m_isolate);
|
| - return script->GetPossibleBreakpoints(start, end, locations);
|
| + return script->GetPossibleBreakpoints(start, end, ignoreNestedFunctions,
|
| + locations);
|
| }
|
|
|
| void resetBlackboxedStateCache() override {
|
| @@ -228,6 +230,7 @@ class WasmVirtualScript : public V8DebuggerScript {
|
|
|
| bool getPossibleBreakpoints(
|
| const v8::debug::Location& start, const v8::debug::Location& end,
|
| + bool ignoreNestedFunctions,
|
| std::vector<v8::debug::Location>* locations) override {
|
| v8::HandleScope scope(m_isolate);
|
| v8::Local<v8::debug::Script> script = m_script.Get(m_isolate);
|
| @@ -247,8 +250,8 @@ class WasmVirtualScript : public V8DebuggerScript {
|
| scriptId(), v8ScriptId);
|
| }
|
|
|
| - bool success = script->GetPossibleBreakpoints(translatedStart,
|
| - translatedEnd, locations);
|
| + bool success = script->GetPossibleBreakpoints(
|
| + translatedStart, translatedEnd, ignoreNestedFunctions, locations);
|
| for (v8::debug::Location& loc : *locations) {
|
| TranslateV8LocationToProtocolLocation(m_wasmTranslation, &loc, v8ScriptId,
|
| scriptId());
|
|
|