| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEBUG_DEBUG_H_ | 5 #ifndef V8_DEBUG_DEBUG_H_ |
| 6 #define V8_DEBUG_DEBUG_H_ | 6 #define V8_DEBUG_DEBUG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
| 10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 // Stepping handling. | 305 // Stepping handling. |
| 306 void PrepareStep(StepAction step_action); | 306 void PrepareStep(StepAction step_action); |
| 307 void PrepareStepIn(Handle<JSFunction> function); | 307 void PrepareStepIn(Handle<JSFunction> function); |
| 308 void PrepareStepInSuspendedGenerator(); | 308 void PrepareStepInSuspendedGenerator(); |
| 309 void PrepareStepOnThrow(); | 309 void PrepareStepOnThrow(); |
| 310 void ClearStepping(); | 310 void ClearStepping(); |
| 311 void ClearStepOut(); | 311 void ClearStepOut(); |
| 312 | 312 |
| 313 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared); | 313 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared); |
| 314 bool GetPossibleBreakpoints(Handle<Script> script, int start_position, | 314 bool GetPossibleBreakpoints(Handle<Script> script, int start_position, |
| 315 int end_position, std::set<int>* positions); | 315 int end_position, bool restrict_to_function, |
| 316 std::set<int>* positions); |
| 316 | 317 |
| 317 void RecordGenerator(Handle<JSGeneratorObject> generator_object); | 318 void RecordGenerator(Handle<JSGeneratorObject> generator_object); |
| 318 | 319 |
| 319 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, | 320 void RunPromiseHook(PromiseHookType type, Handle<JSPromise> promise, |
| 320 Handle<Object> parent); | 321 Handle<Object> parent); |
| 321 | 322 |
| 322 int NextAsyncTaskId(Handle<JSObject> promise); | 323 int NextAsyncTaskId(Handle<JSObject> promise); |
| 323 | 324 |
| 324 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); | 325 bool IsBlackboxed(Handle<SharedFunctionInfo> shared); |
| 325 | 326 |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 Handle<Code> code); | 789 Handle<Code> code); |
| 789 static bool DebugBreakSlotIsPatched(Address pc); | 790 static bool DebugBreakSlotIsPatched(Address pc); |
| 790 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 791 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
| 791 }; | 792 }; |
| 792 | 793 |
| 793 | 794 |
| 794 } // namespace internal | 795 } // namespace internal |
| 795 } // namespace v8 | 796 } // namespace v8 |
| 796 | 797 |
| 797 #endif // V8_DEBUG_DEBUG_H_ | 798 #endif // V8_DEBUG_DEBUG_H_ |
| OLD | NEW |