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

Side by Side Diff: src/debug.h

Issue 23533015: Debug: parameterize 'step over' action with a frame where the step must be performed (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: follow code review Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 Handle<Object> break_point_object, 254 Handle<Object> break_point_object,
255 int* source_position, 255 int* source_position,
256 BreakPositionAlignment alignment); 256 BreakPositionAlignment alignment);
257 void ClearBreakPoint(Handle<Object> break_point_object); 257 void ClearBreakPoint(Handle<Object> break_point_object);
258 void ClearAllBreakPoints(); 258 void ClearAllBreakPoints();
259 void FloodWithOneShot(Handle<JSFunction> function); 259 void FloodWithOneShot(Handle<JSFunction> function);
260 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); 260 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function);
261 void FloodHandlerWithOneShot(); 261 void FloodHandlerWithOneShot();
262 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 262 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
263 bool IsBreakOnException(ExceptionBreakType type); 263 bool IsBreakOnException(ExceptionBreakType type);
264 void PrepareStep(StepAction step_action, int step_count); 264 void PrepareStep(StepAction step_action,
265 int step_count,
266 StackFrame::Id frame_id);
265 void ClearStepping(); 267 void ClearStepping();
266 void ClearStepOut(); 268 void ClearStepOut();
267 bool IsStepping() { return thread_local_.step_count_ > 0; } 269 bool IsStepping() { return thread_local_.step_count_ > 0; }
268 bool StepNextContinue(BreakLocationIterator* break_location_iterator, 270 bool StepNextContinue(BreakLocationIterator* break_location_iterator,
269 JavaScriptFrame* frame); 271 JavaScriptFrame* frame);
270 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 272 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
271 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); 273 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared);
272 274
273 void PrepareForBreakPoints(); 275 void PrepareForBreakPoints();
274 276
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 1064
1063 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1065 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1064 }; 1066 };
1065 1067
1066 1068
1067 } } // namespace v8::internal 1069 } } // namespace v8::internal
1068 1070
1069 #endif // ENABLE_DEBUGGER_SUPPORT 1071 #endif // ENABLE_DEBUGGER_SUPPORT
1070 1072
1071 #endif // V8_DEBUG_H_ 1073 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698