OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 13 matching lines...) Expand all Loading... |
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | 27 |
28 #ifndef V8_D8_DEBUG_H_ | 28 #ifndef V8_D8_DEBUG_H_ |
29 #define V8_D8_DEBUG_H_ | 29 #define V8_D8_DEBUG_H_ |
30 | 30 |
31 | 31 |
32 #include "d8.h" | 32 #include "d8.h" |
33 #include "debug.h" | 33 #include "debug.h" |
| 34 #include "platform/socket.h" |
34 | 35 |
35 | 36 |
36 namespace v8 { | 37 namespace v8 { |
37 | 38 |
38 | 39 |
39 void HandleDebugEvent(const Debug::EventDetails& event_details); | 40 void HandleDebugEvent(const Debug::EventDetails& event_details); |
40 | 41 |
41 // Start the remove debugger connecting to a V8 debugger agent on the specified | 42 // Start the remove debugger connecting to a V8 debugger agent on the specified |
42 // port. | 43 // port. |
43 void RunRemoteDebugger(Isolate* isolate, int port); | 44 void RunRemoteDebugger(Isolate* isolate, int port); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 RemoteDebuggerEvent* next_; | 147 RemoteDebuggerEvent* next_; |
147 | 148 |
148 friend class RemoteDebugger; | 149 friend class RemoteDebugger; |
149 }; | 150 }; |
150 | 151 |
151 | 152 |
152 } // namespace v8 | 153 } // namespace v8 |
153 | 154 |
154 | 155 |
155 #endif // V8_D8_DEBUG_H_ | 156 #endif // V8_D8_DEBUG_H_ |
OLD | NEW |