| 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/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 class DebugScope; | 30 class DebugScope; |
| 31 | 31 |
| 32 | 32 |
| 33 // Step actions. NOTE: These values are in macros.py as well. | 33 // Step actions. NOTE: These values are in macros.py as well. |
| 34 enum StepAction { | 34 enum StepAction { |
| 35 StepNone = -1, // Stepping not prepared. | 35 StepNone = -1, // Stepping not prepared. |
| 36 StepOut = 0, // Step out of the current function. | 36 StepOut = 0, // Step out of the current function. |
| 37 StepNext = 1, // Step to the next statement in the current function. | 37 StepNext = 1, // Step to the next statement in the current function. |
| 38 StepIn = 2, // Step into new functions invoked or the next statement | 38 StepIn = 2, // Step into new functions invoked or the next statement |
| 39 // in the current function. | 39 // in the current function. |
| 40 StepMin = 3, // Perform a minimum step in the current function. | 40 StepFrame = 3 // Step into a new frame or return to previous frame. |
| 41 StepInMin = 4, // Step into new functions invoked or perform a minimum step | |
| 42 // in the current function. | |
| 43 StepFrame = 5 // Step into a new frame or return to previous frame. | |
| 44 }; | 41 }; |
| 45 | 42 |
| 46 | 43 |
| 47 // Type of exception break. NOTE: These values are in macros.py as well. | 44 // Type of exception break. NOTE: These values are in macros.py as well. |
| 48 enum ExceptionBreakType { | 45 enum ExceptionBreakType { |
| 49 BreakException = 0, | 46 BreakException = 0, |
| 50 BreakUncaughtException = 1 | 47 BreakUncaughtException = 1 |
| 51 }; | 48 }; |
| 52 | 49 |
| 53 | 50 |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 | 758 |
| 762 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); | 759 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); |
| 763 static void ClearDebugBreakSlot(Address pc); | 760 static void ClearDebugBreakSlot(Address pc); |
| 764 }; | 761 }; |
| 765 | 762 |
| 766 | 763 |
| 767 } // namespace internal | 764 } // namespace internal |
| 768 } // namespace v8 | 765 } // namespace v8 |
| 769 | 766 |
| 770 #endif // V8_DEBUG_DEBUG_H_ | 767 #endif // V8_DEBUG_DEBUG_H_ |
| OLD | NEW |