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 // TODO(131642): Remove this when fixed. | |
236 NO_INLINE(void PutValuesOnStackAndDie(int start, | |
237 Address c_entry_fp, | |
238 Address last_fp, | |
239 Address larger_fp, | |
240 int count, | |
241 char* stack, | |
242 int end)); | |
243 Object* Break(Arguments args); | 235 Object* Break(Arguments args); |
244 void SetBreakPoint(Handle<JSFunction> function, | 236 void SetBreakPoint(Handle<JSFunction> function, |
245 Handle<Object> break_point_object, | 237 Handle<Object> break_point_object, |
246 int* source_position); | 238 int* source_position); |
247 bool SetBreakPointForScript(Handle<Script> script, | 239 bool SetBreakPointForScript(Handle<Script> script, |
248 Handle<Object> break_point_object, | 240 Handle<Object> break_point_object, |
249 int* source_position); | 241 int* source_position); |
250 void ClearBreakPoint(Handle<Object> break_point_object); | 242 void ClearBreakPoint(Handle<Object> break_point_object); |
251 void ClearAllBreakPoints(); | 243 void ClearAllBreakPoints(); |
252 void FloodWithOneShot(Handle<JSFunction> function); | 244 void FloodWithOneShot(Handle<JSFunction> function); |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1044 | 1036 |
1045 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1037 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1046 }; | 1038 }; |
1047 | 1039 |
1048 | 1040 |
1049 } } // namespace v8::internal | 1041 } } // namespace v8::internal |
1050 | 1042 |
1051 #endif // ENABLE_DEBUGGER_SUPPORT | 1043 #endif // ENABLE_DEBUGGER_SUPPORT |
1052 | 1044 |
1053 #endif // V8_DEBUG_H_ | 1045 #endif // V8_DEBUG_H_ |
OLD | NEW |