| 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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 559 | 559 |
| 560 // Current break id. | 560 // Current break id. |
| 561 int break_id_; | 561 int break_id_; |
| 562 | 562 |
| 563 // Frame id for the frame of the current break. | 563 // Frame id for the frame of the current break. |
| 564 StackFrame::Id break_frame_id_; | 564 StackFrame::Id break_frame_id_; |
| 565 | 565 |
| 566 // Step action for last step performed. | 566 // Step action for last step performed. |
| 567 StepAction last_step_action_; | 567 StepAction last_step_action_; |
| 568 | 568 |
| 569 // If set then this function will be ignored in PrepareStepIn call. | 569 // If set, next PrepareStepIn will ignore this function until stepped into |
| 570 // another function, at which point this will be cleared. |
| 570 Object* ignore_step_into_function_; | 571 Object* ignore_step_into_function_; |
| 571 | 572 |
| 572 // If set then we need to repeat StepOut action at return. | 573 // If set then we need to repeat StepOut action at return. |
| 573 bool fast_forward_to_return_; | 574 bool fast_forward_to_return_; |
| 574 | 575 |
| 575 // Source statement position from last step next action. | 576 // Source statement position from last step next action. |
| 576 int last_statement_position_; | 577 int last_statement_position_; |
| 577 | 578 |
| 578 // Frame pointer from last step next or step frame action. | 579 // Frame pointer from last step next or step frame action. |
| 579 int last_frame_count_; | 580 int last_frame_count_; |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 Handle<Code> code); | 807 Handle<Code> code); |
| 807 static bool DebugBreakSlotIsPatched(Address pc); | 808 static bool DebugBreakSlotIsPatched(Address pc); |
| 808 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 809 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
| 809 }; | 810 }; |
| 810 | 811 |
| 811 | 812 |
| 812 } // namespace internal | 813 } // namespace internal |
| 813 } // namespace v8 | 814 } // namespace v8 |
| 814 | 815 |
| 815 #endif // V8_DEBUG_DEBUG_H_ | 816 #endif // V8_DEBUG_DEBUG_H_ |
| OLD | NEW |