OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |