| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_DEBUG_H_ | 5 #ifndef V8_DEBUG_H_ |
| 6 #define V8_DEBUG_H_ | 6 #define V8_DEBUG_H_ |
| 7 | 7 |
| 8 #include "allocation.h" | 8 #include "allocation.h" |
| 9 #include "arguments.h" | 9 #include "arguments.h" |
| 10 #include "assembler.h" | 10 #include "assembler.h" |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 void ActivateStepIn(StackFrame* frame); | 517 void ActivateStepIn(StackFrame* frame); |
| 518 void ClearStepIn(); | 518 void ClearStepIn(); |
| 519 void ActivateStepOut(StackFrame* frame); | 519 void ActivateStepOut(StackFrame* frame); |
| 520 void ClearStepNext(); | 520 void ClearStepNext(); |
| 521 // Returns whether the compile succeeded. | 521 // Returns whether the compile succeeded. |
| 522 void RemoveDebugInfo(Handle<DebugInfo> debug_info); | 522 void RemoveDebugInfo(Handle<DebugInfo> debug_info); |
| 523 void SetAfterBreakTarget(JavaScriptFrame* frame); | 523 void SetAfterBreakTarget(JavaScriptFrame* frame); |
| 524 Handle<Object> CheckBreakPoints(Handle<Object> break_point); | 524 Handle<Object> CheckBreakPoints(Handle<Object> break_point); |
| 525 bool CheckBreakPoint(Handle<Object> break_point_object); | 525 bool CheckBreakPoint(Handle<Object> break_point_object); |
| 526 | 526 |
| 527 void MaybeRecompileFunctionForDebugging(Handle<JSFunction> function); | |
| 528 void RecompileAndRelocateSuspendedGenerators( | |
| 529 const List<Handle<JSGeneratorObject> > &suspended_generators); | |
| 530 | |
| 531 // Global handle to debug context where all the debugger JavaScript code is | 527 // Global handle to debug context where all the debugger JavaScript code is |
| 532 // loaded. | 528 // loaded. |
| 533 Handle<Context> debug_context_; | 529 Handle<Context> debug_context_; |
| 534 | 530 |
| 535 // Boolean state indicating whether any break points are set. | 531 // Boolean state indicating whether any break points are set. |
| 536 bool has_break_points_; | 532 bool has_break_points_; |
| 537 | 533 |
| 538 // Cache of all scripts in the heap. | 534 // Cache of all scripts in the heap. |
| 539 ScriptCache* script_cache_; | 535 ScriptCache* script_cache_; |
| 540 | 536 |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1040 Mutex mutex_; | 1036 Mutex mutex_; |
| 1041 bool already_signalled_; | 1037 bool already_signalled_; |
| 1042 | 1038 |
| 1043 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1039 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 1044 }; | 1040 }; |
| 1045 | 1041 |
| 1046 | 1042 |
| 1047 } } // namespace v8::internal | 1043 } } // namespace v8::internal |
| 1048 | 1044 |
| 1049 #endif // V8_DEBUG_H_ | 1045 #endif // V8_DEBUG_H_ |
| OLD | NEW |