OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 | 229 |
230 static Object* Break(Arguments args); | 230 static Object* Break(Arguments args); |
231 static void SetBreakPoint(Handle<SharedFunctionInfo> shared, | 231 static void SetBreakPoint(Handle<SharedFunctionInfo> shared, |
232 Handle<Object> break_point_object, | 232 Handle<Object> break_point_object, |
233 int* source_position); | 233 int* source_position); |
234 static void ClearBreakPoint(Handle<Object> break_point_object); | 234 static void ClearBreakPoint(Handle<Object> break_point_object); |
235 static void ClearAllBreakPoints(); | 235 static void ClearAllBreakPoints(); |
236 static void FloodWithOneShot(Handle<SharedFunctionInfo> shared); | 236 static void FloodWithOneShot(Handle<SharedFunctionInfo> shared); |
237 static void FloodHandlerWithOneShot(); | 237 static void FloodHandlerWithOneShot(); |
238 static void ChangeBreakOnException(ExceptionBreakType type, bool enable); | 238 static void ChangeBreakOnException(ExceptionBreakType type, bool enable); |
| 239 static bool IsBreakOnException(ExceptionBreakType type); |
239 static void PrepareStep(StepAction step_action, int step_count); | 240 static void PrepareStep(StepAction step_action, int step_count); |
240 static void ClearStepping(); | 241 static void ClearStepping(); |
241 static bool StepNextContinue(BreakLocationIterator* break_location_iterator, | 242 static bool StepNextContinue(BreakLocationIterator* break_location_iterator, |
242 JavaScriptFrame* frame); | 243 JavaScriptFrame* frame); |
243 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); | 244 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); |
244 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); | 245 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); |
245 | 246 |
246 // Returns whether the operation succeeded. | 247 // Returns whether the operation succeeded. |
247 static bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); | 248 static bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); |
248 | 249 |
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 | 1006 |
1006 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1007 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1007 }; | 1008 }; |
1008 | 1009 |
1009 | 1010 |
1010 } } // namespace v8::internal | 1011 } } // namespace v8::internal |
1011 | 1012 |
1012 #endif // ENABLE_DEBUGGER_SUPPORT | 1013 #endif // ENABLE_DEBUGGER_SUPPORT |
1013 | 1014 |
1014 #endif // V8_DEBUG_H_ | 1015 #endif // V8_DEBUG_H_ |
OLD | NEW |