| 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 /** | 298 /** |
| 299 * Define on which exceptions the debugger pauses. | 299 * Define on which exceptions the debugger pauses. |
| 300 * | 300 * |
| 301 * Requires there to be a current isolate. | 301 * Requires there to be a current isolate. |
| 302 */ | 302 */ |
| 303 DART_EXPORT Dart_Handle Dart_SetExceptionPauseInfo( | 303 DART_EXPORT Dart_Handle Dart_SetExceptionPauseInfo( |
| 304 Dart_ExceptionPauseInfo pause_info); | 304 Dart_ExceptionPauseInfo pause_info); |
| 305 | 305 |
| 306 | 306 |
| 307 /** | 307 /** |
| 308 * Returns on which exceptions the debugger pauses. |
| 309 * |
| 310 * Requires there to be a current isolate. |
| 311 */ |
| 312 DART_EXPORT Dart_ExceptionPauseInfo Dart_GetExceptionPauseInfo(); |
| 313 |
| 314 /** |
| 308 * Returns in \trace the the current stack trace, or NULL if the | 315 * Returns in \trace the the current stack trace, or NULL if the |
| 309 * VM is not paused. | 316 * VM is not paused. |
| 310 * | 317 * |
| 311 * Requires there to be a current isolate. | 318 * Requires there to be a current isolate. |
| 312 * | 319 * |
| 313 * \return A handle to the True object if no error occurs. | 320 * \return A handle to the True object if no error occurs. |
| 314 */ | 321 */ |
| 315 DART_EXPORT Dart_Handle Dart_GetStackTrace(Dart_StackTrace* trace); | 322 DART_EXPORT Dart_Handle Dart_GetStackTrace(Dart_StackTrace* trace); |
| 316 | 323 |
| 317 | 324 |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 * Returns the url of the library \library_id. | 521 * Returns the url of the library \library_id. |
| 515 * | 522 * |
| 516 * Requires there to be a current isolate. | 523 * Requires there to be a current isolate. |
| 517 * | 524 * |
| 518 * \return A string handle containing the URL of the library. | 525 * \return A string handle containing the URL of the library. |
| 519 */ | 526 */ |
| 520 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); | 527 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); |
| 521 | 528 |
| 522 | 529 |
| 523 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 530 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |