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

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

Issue 1525993002: [debugger] remove frame argument for prepare step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years 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') | no next file with comments »
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/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 int* source_position, 401 int* source_position,
402 BreakPositionAlignment alignment); 402 BreakPositionAlignment alignment);
403 void ClearBreakPoint(Handle<Object> break_point_object); 403 void ClearBreakPoint(Handle<Object> break_point_object);
404 void ClearAllBreakPoints(); 404 void ClearAllBreakPoints();
405 void FloodWithOneShot(Handle<JSFunction> function, 405 void FloodWithOneShot(Handle<JSFunction> function,
406 BreakLocatorType type = ALL_BREAK_LOCATIONS); 406 BreakLocatorType type = ALL_BREAK_LOCATIONS);
407 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 407 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
408 bool IsBreakOnException(ExceptionBreakType type); 408 bool IsBreakOnException(ExceptionBreakType type);
409 409
410 // Stepping handling. 410 // Stepping handling.
411 void PrepareStep(StepAction step_action, 411 void PrepareStep(StepAction step_action, int step_count);
412 int step_count,
413 StackFrame::Id frame_id);
414 void PrepareStepIn(Handle<JSFunction> function); 412 void PrepareStepIn(Handle<JSFunction> function);
415 void PrepareStepOnThrow(); 413 void PrepareStepOnThrow();
416 void ClearStepping(); 414 void ClearStepping();
417 void ClearStepOut(); 415 void ClearStepOut();
418 void EnableStepIn(); 416 void EnableStepIn();
419 bool IsStepping() { return thread_local_.step_count_ > 0; } 417 bool IsStepping() { return thread_local_.step_count_ > 0; }
420 bool StepNextContinue(BreakLocation* location, JavaScriptFrame* frame); 418 bool StepNextContinue(BreakLocation* location, JavaScriptFrame* frame);
421 bool StepOutActive() { return thread_local_.step_out_fp_ != 0; } 419 bool StepOutActive() { return thread_local_.step_out_fp_ != 0; }
422 420
423 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id, 421 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 static void PatchDebugBreakSlot(Isolate* isolate, Address pc, 756 static void PatchDebugBreakSlot(Isolate* isolate, Address pc,
759 Handle<Code> code); 757 Handle<Code> code);
760 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 758 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
761 }; 759 };
762 760
763 761
764 } // namespace internal 762 } // namespace internal
765 } // namespace v8 763 } // namespace v8
766 764
767 #endif // V8_DEBUG_DEBUG_H_ 765 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698