| 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_H_ | 5 #ifndef V8_DEBUG_H_ |
| 6 #define V8_DEBUG_H_ | 6 #define V8_DEBUG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 int* source_position); | 383 int* source_position); |
| 384 bool SetBreakPointForScript(Handle<Script> script, | 384 bool SetBreakPointForScript(Handle<Script> script, |
| 385 Handle<Object> break_point_object, | 385 Handle<Object> break_point_object, |
| 386 int* source_position, | 386 int* source_position, |
| 387 BreakPositionAlignment alignment); | 387 BreakPositionAlignment alignment); |
| 388 void ClearBreakPoint(Handle<Object> break_point_object); | 388 void ClearBreakPoint(Handle<Object> break_point_object); |
| 389 void ClearAllBreakPoints(); | 389 void ClearAllBreakPoints(); |
| 390 void FloodWithOneShot(Handle<JSFunction> function, | 390 void FloodWithOneShot(Handle<JSFunction> function, |
| 391 BreakLocatorType type = ALL_BREAK_LOCATIONS); | 391 BreakLocatorType type = ALL_BREAK_LOCATIONS); |
| 392 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); | 392 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); |
| 393 void FloodDefaultConstructorWithOneShot(Handle<JSFunction> function); |
| 393 void FloodHandlerWithOneShot(); | 394 void FloodHandlerWithOneShot(); |
| 394 void ChangeBreakOnException(ExceptionBreakType type, bool enable); | 395 void ChangeBreakOnException(ExceptionBreakType type, bool enable); |
| 395 bool IsBreakOnException(ExceptionBreakType type); | 396 bool IsBreakOnException(ExceptionBreakType type); |
| 396 | 397 |
| 397 // Stepping handling. | 398 // Stepping handling. |
| 398 void PrepareStep(StepAction step_action, | 399 void PrepareStep(StepAction step_action, |
| 399 int step_count, | 400 int step_count, |
| 400 StackFrame::Id frame_id); | 401 StackFrame::Id frame_id); |
| 401 void ClearStepping(); | 402 void ClearStepping(); |
| 402 void ClearStepOut(); | 403 void ClearStepOut(); |
| (...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 // several frames above. | 748 // several frames above. |
| 748 // There is no calling conventions here, because it never actually gets | 749 // There is no calling conventions here, because it never actually gets |
| 749 // called, it only gets returned to. | 750 // called, it only gets returned to. |
| 750 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); | 751 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); |
| 751 }; | 752 }; |
| 752 | 753 |
| 753 | 754 |
| 754 } } // namespace v8::internal | 755 } } // namespace v8::internal |
| 755 | 756 |
| 756 #endif // V8_DEBUG_H_ | 757 #endif // V8_DEBUG_H_ |
| OLD | NEW |