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

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

Issue 1527593002: [debugger] flood function for stepping on throw. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: one more item for the black list 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 Handle<Object> break_point_object, 397 Handle<Object> break_point_object,
398 int* source_position); 398 int* source_position);
399 bool SetBreakPointForScript(Handle<Script> script, 399 bool SetBreakPointForScript(Handle<Script> script,
400 Handle<Object> break_point_object, 400 Handle<Object> break_point_object,
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 FloodHandlerWithOneShot();
408 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 407 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
409 bool IsBreakOnException(ExceptionBreakType type); 408 bool IsBreakOnException(ExceptionBreakType type);
410 409
411 // Stepping handling. 410 // Stepping handling.
412 void PrepareStep(StepAction step_action, 411 void PrepareStep(StepAction step_action,
413 int step_count, 412 int step_count,
414 StackFrame::Id frame_id); 413 StackFrame::Id frame_id);
415 void PrepareStepIn(Handle<JSFunction> function); 414 void PrepareStepIn(Handle<JSFunction> function);
415 void PrepareStepOnThrow();
416 void ClearStepping(); 416 void ClearStepping();
417 void ClearStepOut(); 417 void ClearStepOut();
418 void EnableStepIn(); 418 void EnableStepIn();
419 bool IsStepping() { return thread_local_.step_count_ > 0; } 419 bool IsStepping() { return thread_local_.step_count_ > 0; }
420 bool StepNextContinue(BreakLocation* location, JavaScriptFrame* frame); 420 bool StepNextContinue(BreakLocation* location, JavaScriptFrame* frame);
421 bool StepOutActive() { return thread_local_.step_out_fp_ != 0; } 421 bool StepOutActive() { return thread_local_.step_out_fp_ != 0; }
422 422
423 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id, 423 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id,
424 List<int>* results_out); 424 List<int>* results_out);
425 425
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 static void PatchDebugBreakSlot(Isolate* isolate, Address pc, 758 static void PatchDebugBreakSlot(Isolate* isolate, Address pc,
759 Handle<Code> code); 759 Handle<Code> code);
760 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 760 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
761 }; 761 };
762 762
763 763
764 } // namespace internal 764 } // namespace internal
765 } // namespace v8 765 } // namespace v8
766 766
767 #endif // V8_DEBUG_DEBUG_H_ 767 #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