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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 | 623 |
624 // Source statement position from last step next action. | 624 // Source statement position from last step next action. |
625 int last_statement_position_; | 625 int last_statement_position_; |
626 | 626 |
627 // Number of steps left to perform before debug event. | 627 // Number of steps left to perform before debug event. |
628 int step_count_; | 628 int step_count_; |
629 | 629 |
630 // Frame pointer from last step next or step frame action. | 630 // Frame pointer from last step next or step frame action. |
631 Address last_fp_; | 631 Address last_fp_; |
632 | 632 |
633 // Number of queued steps left to perform before debug event. | |
634 int queued_step_count_; | |
635 | |
636 // Frame pointer for the frame where debugger should be called when current | 633 // Frame pointer for the frame where debugger should be called when current |
637 // step out action is completed. | 634 // step out action is completed. |
638 Address step_out_fp_; | 635 Address step_out_fp_; |
639 | 636 |
640 // Whether functions are flooded on entry for step-in and step-frame. | 637 // Whether functions are flooded on entry for step-in and step-frame. |
641 // If we stepped out to the embedder, disable flooding to spill stepping | 638 // If we stepped out to the embedder, disable flooding to spill stepping |
642 // to the next call that the embedder makes. | 639 // to the next call that the embedder makes. |
643 bool step_in_enabled_; | 640 bool step_in_enabled_; |
644 | 641 |
645 // Stores the way how LiveEdit has patched the stack. It is used when | 642 // Stores the way how LiveEdit has patched the stack. It is used when |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 static void PatchDebugBreakSlot(Isolate* isolate, Address pc, | 750 static void PatchDebugBreakSlot(Isolate* isolate, Address pc, |
754 Handle<Code> code); | 751 Handle<Code> code); |
755 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 752 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
756 }; | 753 }; |
757 | 754 |
758 | 755 |
759 } // namespace internal | 756 } // namespace internal |
760 } // namespace v8 | 757 } // namespace v8 |
761 | 758 |
762 #endif // V8_DEBUG_DEBUG_H_ | 759 #endif // V8_DEBUG_DEBUG_H_ |
OLD | NEW |