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