| OLD | NEW |
| 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 Loading... |
| 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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1050 | 1052 |
| 1051 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1053 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 1052 }; | 1054 }; |
| 1053 | 1055 |
| 1054 | 1056 |
| 1055 } } // namespace v8::internal | 1057 } } // namespace v8::internal |
| 1056 | 1058 |
| 1057 #endif // ENABLE_DEBUGGER_SUPPORT | 1059 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1058 | 1060 |
| 1059 #endif // V8_DEBUG_H_ | 1061 #endif // V8_DEBUG_H_ |
| OLD | NEW |