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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 class Debug { | 225 class Debug { |
226 public: | 226 public: |
227 void SetUp(bool create_heap_objects); | 227 void SetUp(bool create_heap_objects); |
228 bool Load(); | 228 bool Load(); |
229 void Unload(); | 229 void Unload(); |
230 bool IsLoaded() { return !debug_context_.is_null(); } | 230 bool IsLoaded() { return !debug_context_.is_null(); } |
231 bool InDebugger() { return thread_local_.debugger_entry_ != NULL; } | 231 bool InDebugger() { return thread_local_.debugger_entry_ != NULL; } |
232 void PreemptionWhileInDebugger(); | 232 void PreemptionWhileInDebugger(); |
233 void Iterate(ObjectVisitor* v); | 233 void Iterate(ObjectVisitor* v); |
234 | 234 |
| 235 NO_INLINE(void PutValuesOnStackAndDie(int start, |
| 236 Address c_entry_fp, |
| 237 Address last_fp, |
| 238 Address larger_fp, |
| 239 int count, |
| 240 int end)); |
235 Object* Break(Arguments args); | 241 Object* Break(Arguments args); |
236 void SetBreakPoint(Handle<SharedFunctionInfo> shared, | 242 void SetBreakPoint(Handle<SharedFunctionInfo> shared, |
237 Handle<Object> break_point_object, | 243 Handle<Object> break_point_object, |
238 int* source_position); | 244 int* source_position); |
239 void ClearBreakPoint(Handle<Object> break_point_object); | 245 void ClearBreakPoint(Handle<Object> break_point_object); |
240 void ClearAllBreakPoints(); | 246 void ClearAllBreakPoints(); |
241 void FloodWithOneShot(Handle<SharedFunctionInfo> shared); | 247 void FloodWithOneShot(Handle<SharedFunctionInfo> shared); |
242 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); | 248 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); |
243 void FloodHandlerWithOneShot(); | 249 void FloodHandlerWithOneShot(); |
244 void ChangeBreakOnException(ExceptionBreakType type, bool enable); | 250 void ChangeBreakOnException(ExceptionBreakType type, bool enable); |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1029 | 1035 |
1030 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1036 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1031 }; | 1037 }; |
1032 | 1038 |
1033 | 1039 |
1034 } } // namespace v8::internal | 1040 } } // namespace v8::internal |
1035 | 1041 |
1036 #endif // ENABLE_DEBUGGER_SUPPORT | 1042 #endif // ENABLE_DEBUGGER_SUPPORT |
1037 | 1043 |
1038 #endif // V8_DEBUG_H_ | 1044 #endif // V8_DEBUG_H_ |
OLD | NEW |