Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index f64534c9fc8cdca1e582165e4b25177c0e632fb1..0ead043e3adfa66ce1accd8f57561458eabdc7fb 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -9228,6 +9228,7 @@ int GetSmiValue(i::Handle<i::FixedArray> array, int index) { |
bool debug::Script::GetPossibleBreakpoints( |
const debug::Location& start, const debug::Location& end, |
+ bool ignore_nested_functions, |
std::vector<debug::Location>* locations) const { |
CHECK(!start.IsEmpty()); |
i::Handle<i::Script> script = Utils::OpenHandle(this); |
@@ -9254,8 +9255,9 @@ bool debug::Script::GetPossibleBreakpoints( |
if (start_offset >= end_offset) return true; |
std::set<int> offsets; |
- if (!isolate->debug()->GetPossibleBreakpoints(script, start_offset, |
- end_offset, &offsets)) { |
+ if (!isolate->debug()->GetPossibleBreakpoints( |
+ script, start_offset, end_offset, ignore_nested_functions, |
+ &offsets)) { |
return false; |
} |