| Index: src/debug/debug-interface.h
|
| diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
|
| index 77bab3a50c6336a780394fd068c9febfcad6af83..69b2a2460940359009f37906c235969290030a39 100644
|
| --- a/src/debug/debug-interface.h
|
| +++ b/src/debug/debug-interface.h
|
| @@ -158,6 +158,12 @@ class DebugInterface {
|
| MaybeLocal<String> SourceMappingURL() const;
|
| MaybeLocal<String> ContextData() const;
|
| MaybeLocal<String> Source() const;
|
| + /**
|
| + * lines and columns are 0-based.
|
| + */
|
| + bool GetPossibleBreakpoints(int start_line, int start_column, int end_line,
|
| + int end_column,
|
| + std::vector<int>& positions) const;
|
|
|
| /**
|
| * script parameter is a wrapper v8::internal::JSObject for
|
| @@ -169,6 +175,9 @@ class DebugInterface {
|
| */
|
| static MaybeLocal<Script> Wrap(Isolate* isolate,
|
| v8::Local<v8::Object> script);
|
| +
|
| + private:
|
| + int GetSourcePosition(int line, int column) const;
|
| };
|
|
|
| /**
|
|
|