| 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 585 | 585 |
| 586 v8::Debug::MessageHandler message_handler_; | 586 v8::Debug::MessageHandler message_handler_; |
| 587 | 587 |
| 588 static const int kQueueInitialSize = 4; | 588 static const int kQueueInitialSize = 4; |
| 589 base::Semaphore command_received_; // Signaled for each command received. | 589 base::Semaphore command_received_; // Signaled for each command received. |
| 590 LockingCommandMessageQueue command_queue_; | 590 LockingCommandMessageQueue command_queue_; |
| 591 | 591 |
| 592 bool is_active_; | 592 bool is_active_; |
| 593 bool is_suppressed_; | 593 bool is_suppressed_; |
| 594 bool live_edit_enabled_; | 594 bool live_edit_enabled_; |
| 595 bool has_break_points_; | |
| 596 bool break_disabled_; | 595 bool break_disabled_; |
| 597 bool in_debug_event_listener_; | 596 bool in_debug_event_listener_; |
| 598 bool break_on_exception_; | 597 bool break_on_exception_; |
| 599 bool break_on_uncaught_exception_; | 598 bool break_on_uncaught_exception_; |
| 600 | 599 |
| 601 DebugInfoListNode* debug_info_list_; // List of active debug info objects. | 600 DebugInfoListNode* debug_info_list_; // List of active debug info objects. |
| 602 | 601 |
| 603 // Storage location for jump when exiting debug break calls. | 602 // Storage location for jump when exiting debug break calls. |
| 604 // Note that this address is not GC safe. It should be computed immediately | 603 // Note that this address is not GC safe. It should be computed immediately |
| 605 // before returning to the DebugBreakCallHelper. | 604 // before returning to the DebugBreakCallHelper. |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 int call_argc = -1); | 758 int call_argc = -1); |
| 760 | 759 |
| 761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); | 760 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); |
| 762 static void ClearDebugBreakSlot(Address pc); | 761 static void ClearDebugBreakSlot(Address pc); |
| 763 }; | 762 }; |
| 764 | 763 |
| 765 | 764 |
| 766 } } // namespace v8::internal | 765 } } // namespace v8::internal |
| 767 | 766 |
| 768 #endif // V8_DEBUG_DEBUG_H_ | 767 #endif // V8_DEBUG_DEBUG_H_ |
| OLD | NEW |