| Index: src/debug/debug.h
|
| diff --git a/src/debug/debug.h b/src/debug/debug.h
|
| index 30cbe77f8b37aa71895d49b54c60c29fe29cd88c..9a04e1c124904b895721fd160c573c1eda0dae26 100644
|
| --- a/src/debug/debug.h
|
| +++ b/src/debug/debug.h
|
| @@ -461,6 +461,8 @@ class Debug {
|
| void ClearStepOut();
|
|
|
| bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared);
|
| + bool GetPossibleBreakpoints(Handle<Script> script, int start_position,
|
| + int end_position, std::vector<int>& positions);
|
|
|
| void RecordAsyncFunction(Handle<JSGeneratorObject> generator_object);
|
|
|
| @@ -617,6 +619,9 @@ class Debug {
|
| // Find the closest source position for a break point for a given position.
|
| int FindBreakablePosition(Handle<DebugInfo> debug_info, int source_position,
|
| BreakPositionAlignment alignment);
|
| + void FindBreakablePositions(Handle<DebugInfo> debug_info, int start_offset,
|
| + int end_offset, BreakPositionAlignment alignment,
|
| + std::vector<int>& offsets);
|
| // Instrument code to break at break points.
|
| void ApplyBreakPoints(Handle<DebugInfo> debug_info);
|
| // Clear code from instrumentation.
|
|
|