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 |
514 // Global handle to debug context where all the debugger JavaScript code is | 518 // Global handle to debug context where all the debugger JavaScript code is |
515 // loaded. | 519 // loaded. |
516 Handle<Context> debug_context_; | 520 Handle<Context> debug_context_; |
517 | 521 |
518 // Boolean state indicating whether any break points are set. | 522 // Boolean state indicating whether any break points are set. |
519 bool has_break_points_; | 523 bool has_break_points_; |
520 | 524 |
521 // Cache of all scripts in the heap. | 525 // Cache of all scripts in the heap. |
522 ScriptCache* script_cache_; | 526 ScriptCache* script_cache_; |
523 | 527 |
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1015 Mutex mutex_; | 1019 Mutex mutex_; |
1016 bool already_signalled_; | 1020 bool already_signalled_; |
1017 | 1021 |
1018 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1019 }; | 1023 }; |
1020 | 1024 |
1021 | 1025 |
1022 } } // namespace v8::internal | 1026 } } // namespace v8::internal |
1023 | 1027 |
1024 #endif // V8_DEBUG_H_ | 1028 #endif // V8_DEBUG_H_ |
OLD | NEW |