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 18 matching lines...) Expand all Loading... |
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 | 34 |
35 | 35 |
36 namespace v8 { | 36 namespace v8 { |
37 | 37 |
38 | 38 |
39 void HandleDebugEvent(DebugEvent event, | 39 void HandleDebugEvent(const Debug::EventDetails& event_details); |
40 Handle<Object> exec_state, | |
41 Handle<Object> event_data, | |
42 Handle<Value> data); | |
43 | 40 |
44 // Start the remove debugger connecting to a V8 debugger agent on the specified | 41 // Start the remove debugger connecting to a V8 debugger agent on the specified |
45 // port. | 42 // port. |
46 void RunRemoteDebugger(Isolate* isolate, int port); | 43 void RunRemoteDebugger(Isolate* isolate, int port); |
47 | 44 |
48 // Forward declerations. | 45 // Forward declerations. |
49 class RemoteDebuggerEvent; | 46 class RemoteDebuggerEvent; |
50 class ReceiverThread; | 47 class ReceiverThread; |
51 | 48 |
52 | 49 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 RemoteDebuggerEvent* next_; | 147 RemoteDebuggerEvent* next_; |
151 | 148 |
152 friend class RemoteDebugger; | 149 friend class RemoteDebugger; |
153 }; | 150 }; |
154 | 151 |
155 | 152 |
156 } // namespace v8 | 153 } // namespace v8 |
157 | 154 |
158 | 155 |
159 #endif // V8_D8_DEBUG_H_ | 156 #endif // V8_D8_DEBUG_H_ |
OLD | NEW |