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

Side by Side Diff: src/debug.h

Issue 7839030: Support for precise stepping in functions compiled before debugging was started (step 1) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed #if 0 / #endif Created 9 years, 3 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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void FloodHandlerWithOneShot(); 240 void FloodHandlerWithOneShot();
241 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 241 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
242 bool IsBreakOnException(ExceptionBreakType type); 242 bool IsBreakOnException(ExceptionBreakType type);
243 void PrepareStep(StepAction step_action, int step_count); 243 void PrepareStep(StepAction step_action, int step_count);
244 void ClearStepping(); 244 void ClearStepping();
245 bool StepNextContinue(BreakLocationIterator* break_location_iterator, 245 bool StepNextContinue(BreakLocationIterator* break_location_iterator,
246 JavaScriptFrame* frame); 246 JavaScriptFrame* frame);
247 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 247 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
248 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared); 248 static bool HasDebugInfo(Handle<SharedFunctionInfo> shared);
249 249
250 void PrepareForBreakPoints();
251
250 // Returns whether the operation succeeded. 252 // Returns whether the operation succeeded.
251 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); 253 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared);
252 254
253 // Returns true if the current stub call is patched to call the debugger. 255 // Returns true if the current stub call is patched to call the debugger.
254 static bool IsDebugBreak(Address addr); 256 static bool IsDebugBreak(Address addr);
255 // Returns true if the current return statement has been patched to be 257 // Returns true if the current return statement has been patched to be
256 // a debugger breakpoint. 258 // a debugger breakpoint.
257 static bool IsDebugBreakAtReturn(RelocInfo* rinfo); 259 static bool IsDebugBreakAtReturn(RelocInfo* rinfo);
258 260
259 // Check whether a code stub with the specified major key is a possible break 261 // Check whether a code stub with the specified major key is a possible break
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 1053
1052 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1054 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1053 }; 1055 };
1054 1056
1055 1057
1056 } } // namespace v8::internal 1058 } } // namespace v8::internal
1057 1059
1058 #endif // ENABLE_DEBUGGER_SUPPORT 1060 #endif // ENABLE_DEBUGGER_SUPPORT
1059 1061
1060 #endif // V8_DEBUG_H_ 1062 #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