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); | 514 void EnsureFunctionHasDebugBreakSlots(Handle<JSFunction> function); |
515 void RecompileAndRelocateSuspendedGenerators( | 515 void RecompileAndRelocateSuspendedGenerators( |
516 const List<Handle<JSGeneratorObject> > &suspended_generators); | 516 const List<Handle<JSGeneratorObject> > &suspended_generators); |
517 | 517 |
518 // 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 |
519 // loaded. | 519 // loaded. |
520 Handle<Context> debug_context_; | 520 Handle<Context> debug_context_; |
521 | 521 |
522 // Boolean state indicating whether any break points are set. | 522 // Boolean state indicating whether any break points are set. |
523 bool has_break_points_; | 523 bool has_break_points_; |
524 | 524 |
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1019 Mutex mutex_; | 1019 Mutex mutex_; |
1020 bool already_signalled_; | 1020 bool already_signalled_; |
1021 | 1021 |
1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1022 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1023 }; | 1023 }; |
1024 | 1024 |
1025 | 1025 |
1026 } } // namespace v8::internal | 1026 } } // namespace v8::internal |
1027 | 1027 |
1028 #endif // V8_DEBUG_H_ | 1028 #endif // V8_DEBUG_H_ |
OLD | NEW |