| 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_DEBUG_H_ | 5 #ifndef V8_DEBUG_DEBUG_H_ |
| 6 #define V8_DEBUG_DEBUG_H_ | 6 #define V8_DEBUG_DEBUG_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 void ActivateStepOut(StackFrame* frame); | 534 void ActivateStepOut(StackFrame* frame); |
| 535 void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info); | 535 void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info); |
| 536 MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info, | 536 MaybeHandle<FixedArray> CheckBreakPoints(Handle<DebugInfo> debug_info, |
| 537 BreakLocation* location, | 537 BreakLocation* location, |
| 538 bool* has_break_points = nullptr); | 538 bool* has_break_points = nullptr); |
| 539 bool IsMutedAtCurrentLocation(JavaScriptFrame* frame); | 539 bool IsMutedAtCurrentLocation(JavaScriptFrame* frame); |
| 540 bool CheckBreakPoint(Handle<Object> break_point_object); | 540 bool CheckBreakPoint(Handle<Object> break_point_object); |
| 541 MaybeHandle<Object> CallFunction(const char* name, int argc, | 541 MaybeHandle<Object> CallFunction(const char* name, int argc, |
| 542 Handle<Object> args[]); | 542 Handle<Object> args[]); |
| 543 | 543 |
| 544 bool IsBreakablePromiseCreated(); |
| 545 |
| 544 inline void AssertDebugContext() { | 546 inline void AssertDebugContext() { |
| 545 DCHECK(isolate_->context() == *debug_context()); | 547 DCHECK(isolate_->context() == *debug_context()); |
| 546 DCHECK(in_debug_scope()); | 548 DCHECK(in_debug_scope()); |
| 547 } | 549 } |
| 548 | 550 |
| 549 void ThreadInit(); | 551 void ThreadInit(); |
| 550 | 552 |
| 551 void PrintBreakLocation(); | 553 void PrintBreakLocation(); |
| 552 | 554 |
| 553 // Global handles. | 555 // Global handles. |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 Handle<Code> code); | 752 Handle<Code> code); |
| 751 static bool DebugBreakSlotIsPatched(Address pc); | 753 static bool DebugBreakSlotIsPatched(Address pc); |
| 752 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); | 754 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); |
| 753 }; | 755 }; |
| 754 | 756 |
| 755 | 757 |
| 756 } // namespace internal | 758 } // namespace internal |
| 757 } // namespace v8 | 759 } // namespace v8 |
| 758 | 760 |
| 759 #endif // V8_DEBUG_DEBUG_H_ | 761 #endif // V8_DEBUG_DEBUG_H_ |
| OLD | NEW |