Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: src/debug/debug.h

Issue 2758483002: [debugger] tuned StepNext and StepOut at return position (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 555
556 // Counter for generating next break id. 556 // Counter for generating next break id.
557 int break_count_; 557 int break_count_;
558 558
559 // Current break id. 559 // Current break id.
560 int break_id_; 560 int break_id_;
561 561
562 // Frame id for the frame of the current break. 562 // Frame id for the frame of the current break.
563 StackFrame::Id break_frame_id_; 563 StackFrame::Id break_frame_id_;
564 564
565 StackFrame::Id last_step_frame_id_;
566
565 // Step action for last step performed. 567 // Step action for last step performed.
566 StepAction last_step_action_; 568 StepAction last_step_action_;
567 569
568 // Source statement position from last step next action. 570 // Source statement position from last step next action.
569 int last_statement_position_; 571 int last_statement_position_;
570 572
571 // Frame pointer from last step next or step frame action. 573 // Frame pointer from last step next or step frame action.
572 int last_frame_count_; 574 int last_frame_count_;
573 575
574 // Frame pointer of the target frame we want to arrive at. 576 // Frame pointer of the target frame we want to arrive at.
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 Handle<Code> code); 801 Handle<Code> code);
800 static bool DebugBreakSlotIsPatched(Address pc); 802 static bool DebugBreakSlotIsPatched(Address pc);
801 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 803 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
802 }; 804 };
803 805
804 806
805 } // namespace internal 807 } // namespace internal
806 } // namespace v8 808 } // namespace v8
807 809
808 #endif // V8_DEBUG_DEBUG_H_ 810 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/inspector/v8-debugger-agent-impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698