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 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 void ActivateStepIn(StackFrame* frame); | 504 void ActivateStepIn(StackFrame* frame); |
505 void ClearStepIn(); | 505 void ClearStepIn(); |
506 void ActivateStepOut(StackFrame* frame); | 506 void ActivateStepOut(StackFrame* frame); |
507 void ClearStepNext(); | 507 void ClearStepNext(); |
508 // Returns whether the compile succeeded. | 508 // Returns whether the compile succeeded. |
509 void RemoveDebugInfo(Handle<DebugInfo> debug_info); | 509 void RemoveDebugInfo(Handle<DebugInfo> debug_info); |
510 void SetAfterBreakTarget(JavaScriptFrame* frame); | 510 void SetAfterBreakTarget(JavaScriptFrame* frame); |
511 Handle<Object> CheckBreakPoints(Handle<Object> break_point); | 511 Handle<Object> CheckBreakPoints(Handle<Object> break_point); |
512 bool CheckBreakPoint(Handle<Object> break_point_object); | 512 bool CheckBreakPoint(Handle<Object> break_point_object); |
513 | 513 |
514 void MaybeRecompileFunctionForDebugging(Handle<JSFunction> function); | |
515 void RecompileAndRelocateSuspendedGenerators( | |
516 const List<Handle<JSGeneratorObject> > &suspended_generators); | |
517 | |
518 // Global handle to debug context where all the debugger JavaScript code is | 514 // Global handle to debug context where all the debugger JavaScript code is |
519 // loaded. | 515 // loaded. |
520 Handle<Context> debug_context_; | 516 Handle<Context> debug_context_; |
521 | 517 |
522 // Boolean state indicating whether any break points are set. | 518 // Boolean state indicating whether any break points are set. |
523 bool has_break_points_; | 519 bool has_break_points_; |
524 | 520 |
525 // Cache of all scripts in the heap. | 521 // Cache of all scripts in the heap. |
526 ScriptCache* script_cache_; | 522 ScriptCache* script_cache_; |
527 | 523 |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 Mutex mutex_; | 1015 Mutex mutex_; |
1020 bool already_signalled_; | 1016 bool already_signalled_; |
1021 | 1017 |
1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1018 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1023 }; | 1019 }; |
1024 | 1020 |
1025 | 1021 |
1026 } } // namespace v8::internal | 1022 } } // namespace v8::internal |
1027 | 1023 |
1028 #endif // V8_DEBUG_H_ | 1024 #endif // V8_DEBUG_H_ |
OLD | NEW |