| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_ | 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_ |
| 6 #define INCLUDE_DART_DEBUGGER_API_H_ | 6 #define INCLUDE_DART_DEBUGGER_API_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 | 9 |
| 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; | 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 * \return A handle to the True object if no error occurs. | 152 * \return A handle to the True object if no error occurs. |
| 153 */ | 153 */ |
| 154 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo( | 154 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo( |
| 155 Dart_ActivationFrame activation_frame, | 155 Dart_ActivationFrame activation_frame, |
| 156 Dart_Handle* function_name, | 156 Dart_Handle* function_name, |
| 157 Dart_Handle* script_url, | 157 Dart_Handle* script_url, |
| 158 intptr_t* line_number); | 158 intptr_t* line_number); |
| 159 | 159 |
| 160 | 160 |
| 161 /** | 161 /** |
| 162 * Returns an array containing all the local variable names and values of |
| 163 * the given \activation_frame. |
| 164 * |
| 165 * Requires there to be a current isolate. |
| 166 * |
| 167 * \return A handle to an array containing variable names and |
| 168 * corresponding values. The array is empty if the activation frame has |
| 169 * no variables. If non-empty, variable names are at array offsets 2*n, |
| 170 * values at offset 2*n+1. |
| 171 */ |
| 172 DART_EXPORT Dart_Handle Dart_GetLocalVariables( |
| 173 Dart_ActivationFrame activation_frame); |
| 174 |
| 175 |
| 176 /** |
| 162 * Returns the class of the given \object. | 177 * Returns the class of the given \object. |
| 163 * | 178 * |
| 164 * Requires there to be a current isolate. | 179 * Requires there to be a current isolate. |
| 165 * | 180 * |
| 166 * \return A handle to the class object. | 181 * \return A handle to the class object. |
| 167 */ | 182 */ |
| 168 DART_EXPORT Dart_Handle Dart_GetObjClass(Dart_Handle object); | 183 DART_EXPORT Dart_Handle Dart_GetObjClass(Dart_Handle object); |
| 169 | 184 |
| 170 | 185 |
| 171 /** | 186 /** |
| (...skipping 30 matching lines...) Expand all Loading... |
| 202 * \return A handle to an array containing field names and | 217 * \return A handle to an array containing field names and |
| 203 * corresponding field values. The array is empty if the class has | 218 * corresponding field values. The array is empty if the class has |
| 204 * no static fields. If non-empty, field names are at array offsets 2*n, | 219 * no static fields. If non-empty, field names are at array offsets 2*n, |
| 205 * values at offset 2*n+1. Field values may also be a handle to an | 220 * values at offset 2*n+1. Field values may also be a handle to an |
| 206 * error object if an error was encountered evaluating the field. | 221 * error object if an error was encountered evaluating the field. |
| 207 */ | 222 */ |
| 208 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle cls); | 223 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle cls); |
| 209 | 224 |
| 210 | 225 |
| 211 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 226 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |