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

Side by Side Diff: src/debug.h

Issue 10698048: Put even more debug information on stack when aborting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 5 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') | no next file with comments »
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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 235 NO_INLINE(void PutValuesOnStackAndDie(int start,
236 Address c_entry_fp, 236 Address c_entry_fp,
237 Address last_fp, 237 Address last_fp,
238 Address larger_fp, 238 Address larger_fp,
239 Address last_in_fp,
240 Address last_out_fp,
241 int count, 239 int count,
240 char* stack,
242 int end)); 241 int end));
243 Object* Break(Arguments args); 242 Object* Break(Arguments args);
244 void SetBreakPoint(Handle<JSFunction> function, 243 void SetBreakPoint(Handle<JSFunction> function,
245 Handle<Object> break_point_object, 244 Handle<Object> break_point_object,
246 int* source_position); 245 int* source_position);
247 bool SetBreakPointForScript(Handle<Script> script, 246 bool SetBreakPointForScript(Handle<Script> script,
248 Handle<Object> break_point_object, 247 Handle<Object> break_point_object,
249 int* source_position); 248 int* source_position);
250 void ClearBreakPoint(Handle<Object> break_point_object); 249 void ClearBreakPoint(Handle<Object> break_point_object);
251 void ClearAllBreakPoints(); 250 void ClearAllBreakPoints();
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1044 1043
1045 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1044 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1046 }; 1045 };
1047 1046
1048 1047
1049 } } // namespace v8::internal 1048 } } // namespace v8::internal
1050 1049
1051 #endif // ENABLE_DEBUGGER_SUPPORT 1050 #endif // ENABLE_DEBUGGER_SUPPORT
1052 1051
1053 #endif // V8_DEBUG_H_ 1052 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698