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

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: 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') | src/debug.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 // 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 Handle<Object> break_point_object, 252 Handle<Object> break_point_object,
253 int* source_position, 253 int* source_position,
254 BreakPositionAlignment alignment); 254 BreakPositionAlignment alignment);
255 void ClearBreakPoint(Handle<Object> break_point_object); 255 void ClearBreakPoint(Handle<Object> break_point_object);
256 void ClearAllBreakPoints(); 256 void ClearAllBreakPoints();
257 void FloodWithOneShot(Handle<JSFunction> function); 257 void FloodWithOneShot(Handle<JSFunction> function);
258 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); 258 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function);
259 void FloodHandlerWithOneShot(); 259 void FloodHandlerWithOneShot();
260 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 260 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
261 bool IsBreakOnException(ExceptionBreakType type); 261 bool IsBreakOnException(ExceptionBreakType type);
262 void PrepareStep(StepAction step_action, int step_count); 262 void PrepareStep(StepAction step_action, int step_count,
263 StackFrame::Id frame_id);
Yang 2013/09/05 15:19:54 just put one argument per line please.
Peter.Rybin 2013/09/05 16:58:21 Done.
263 void ClearStepping(); 264 void ClearStepping();
264 void ClearStepOut(); 265 void ClearStepOut();
265 bool IsStepping() { return thread_local_.step_count_ > 0; } 266 bool IsStepping() { return thread_local_.step_count_ > 0; }
266 bool StepNextContinue(BreakLocationIterator* break_location_iterator, 267 bool StepNextContinue(BreakLocationIterator* break_location_iterator,
267 JavaScriptFrame* frame); 268 JavaScriptFrame* frame);
268 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 269 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
269 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); 270 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared);
270 271
271 void PrepareForBreakPoints(); 272 void PrepareForBreakPoints();
272 273
(...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 1061
1061 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1062 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1062 }; 1063 };
1063 1064
1064 1065
1065 } } // namespace v8::internal 1066 } } // namespace v8::internal
1066 1067
1067 #endif // ENABLE_DEBUGGER_SUPPORT 1068 #endif // ENABLE_DEBUGGER_SUPPORT
1068 1069
1069 #endif // V8_DEBUG_H_ 1070 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | src/debug.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698