| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 Code* debug_break_slot_; | 630 Code* debug_break_slot_; |
| 631 | 631 |
| 632 Isolate* isolate_; | 632 Isolate* isolate_; |
| 633 | 633 |
| 634 friend class Isolate; | 634 friend class Isolate; |
| 635 | 635 |
| 636 DISALLOW_COPY_AND_ASSIGN(Debug); | 636 DISALLOW_COPY_AND_ASSIGN(Debug); |
| 637 }; | 637 }; |
| 638 | 638 |
| 639 | 639 |
| 640 DECLARE_RUNTIME_FUNCTION(Object*, Debug_Break); | 640 DECLARE_RUNTIME_FUNCTION(Debug_Break); |
| 641 | 641 |
| 642 | 642 |
| 643 // Message delivered to the message handler callback. This is either a debugger | 643 // Message delivered to the message handler callback. This is either a debugger |
| 644 // event or the response to a command. | 644 // event or the response to a command. |
| 645 class MessageImpl: public v8::Debug::Message { | 645 class MessageImpl: public v8::Debug::Message { |
| 646 public: | 646 public: |
| 647 // Create a message object for a debug event. | 647 // Create a message object for a debug event. |
| 648 static MessageImpl NewEvent(DebugEvent event, | 648 static MessageImpl NewEvent(DebugEvent event, |
| 649 bool running, | 649 bool running, |
| 650 Handle<JSObject> exec_state, | 650 Handle<JSObject> exec_state, |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1058 | 1058 |
| 1059 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1059 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 1060 }; | 1060 }; |
| 1061 | 1061 |
| 1062 | 1062 |
| 1063 } } // namespace v8::internal | 1063 } } // namespace v8::internal |
| 1064 | 1064 |
| 1065 #endif // ENABLE_DEBUGGER_SUPPORT | 1065 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1066 | 1066 |
| 1067 #endif // V8_DEBUG_H_ | 1067 #endif // V8_DEBUG_H_ |
| OLD | NEW |