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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 */ | 109 */ |
110 virtual bool WillStartRunning() const = 0; | 110 virtual bool WillStartRunning() const = 0; |
111 | 111 |
112 /** | 112 /** |
113 * Access to execution state and event data. Don't store these cross | 113 * Access to execution state and event data. Don't store these cross |
114 * callbacks as their content becomes invalid. These objects are from the | 114 * callbacks as their content becomes invalid. These objects are from the |
115 * debugger event that started the debug message loop. | 115 * debugger event that started the debug message loop. |
116 */ | 116 */ |
117 virtual Handle<Object> GetExecutionState() const = 0; | 117 virtual Handle<Object> GetExecutionState() const = 0; |
118 virtual Handle<Object> GetEventData() const = 0; | 118 virtual Handle<Object> GetEventData() const = 0; |
119 » | 119 |
120 /** | 120 /** |
121 * Get the debugger protocol JSON. | 121 * Get the debugger protocol JSON. |
122 */ | 122 */ |
123 virtual Handle<String> GetJSON() const = 0; | 123 virtual Handle<String> GetJSON() const = 0; |
124 | 124 |
125 /** | 125 /** |
126 * Get the context active when the debug event happened. Note this is not | 126 * Get the context active when the debug event happened. Note this is not |
127 * the current active context as the JavaScript part of the debugger is | 127 * the current active context as the JavaScript part of the debugger is |
128 * running in it's own context which is entered at this point. | 128 * running in it's own context which is entered at this point. |
129 */ | 129 */ |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 }; | 226 }; |
227 | 227 |
228 | 228 |
229 } // namespace v8 | 229 } // namespace v8 |
230 | 230 |
231 | 231 |
232 #undef EXPORT | 232 #undef EXPORT |
233 | 233 |
234 | 234 |
235 #endif // V8_DEBUG_H_ | 235 #endif // V8_DEBUG_H_ |
OLD | NEW |