| 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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 /** | 285 /** |
| 286 * Returns in \trace the the current stack trace, or NULL if the | 286 * Returns in \trace the the current stack trace, or NULL if the |
| 287 * VM is not paused. | 287 * VM is not paused. |
| 288 * | 288 * |
| 289 * Requires there to be a current isolate. | 289 * Requires there to be a current isolate. |
| 290 * | 290 * |
| 291 * \return A handle to the True object if no error occurs. | 291 * \return A handle to the True object if no error occurs. |
| 292 */ | 292 */ |
| 293 DART_EXPORT Dart_Handle Dart_GetStackTrace(Dart_StackTrace* trace); | 293 DART_EXPORT Dart_Handle Dart_GetStackTrace(Dart_StackTrace* trace); |
| 294 | 294 |
| 295 DART_EXPORT Dart_Handle Dart_GetStackTrace2(); |
| 296 |
| 295 | 297 |
| 296 /** | 298 /** |
| 297 * Returns in \length the number of activation frames in the given | 299 * Returns in \length the number of activation frames in the given |
| 298 * stack trace. | 300 * stack trace. |
| 299 * | 301 * |
| 300 * Requires there to be a current isolate. | 302 * Requires there to be a current isolate. |
| 301 * | 303 * |
| 302 * \return A handle to the True object if no error occurs. | 304 * \return A handle to the True object if no error occurs. |
| 303 */ | 305 */ |
| 304 DART_EXPORT Dart_Handle Dart_StackTraceLength( | 306 DART_EXPORT Dart_Handle Dart_StackTraceLength( |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 492 * Returns the url of the library \library_id. | 494 * Returns the url of the library \library_id. |
| 493 * | 495 * |
| 494 * Requires there to be a current isolate. | 496 * Requires there to be a current isolate. |
| 495 * | 497 * |
| 496 * \return A string handle containing the URL of the library. | 498 * \return A string handle containing the URL of the library. |
| 497 */ | 499 */ |
| 498 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); | 500 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); |
| 499 | 501 |
| 500 | 502 |
| 501 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 503 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |