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_TOOLS_API_H_ | 5 #ifndef INCLUDE_DART_TOOLS_API_H_ |
6 #define INCLUDE_DART_TOOLS_API_H_ | 6 #define INCLUDE_DART_TOOLS_API_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 | 9 |
10 /** \mainpage Dart Tools Embedding API Reference | 10 /** \mainpage Dart Tools Embedding API Reference |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 * - shutdown of an isolate | 334 * - shutdown of an isolate |
335 * - interruption of an isolate | 335 * - interruption of an isolate |
336 */ | 336 */ |
337 DART_EXPORT void Dart_SetIsolateEventHandler(Dart_IsolateEventHandler handler); | 337 DART_EXPORT void Dart_SetIsolateEventHandler(Dart_IsolateEventHandler handler); |
338 | 338 |
339 // On which exceptions to pause. | 339 // On which exceptions to pause. |
340 typedef enum { | 340 typedef enum { |
341 kNoPauseOnExceptions = 1, | 341 kNoPauseOnExceptions = 1, |
342 kPauseOnUnhandledExceptions, | 342 kPauseOnUnhandledExceptions, |
343 kPauseOnAllExceptions, | 343 kPauseOnAllExceptions, |
| 344 kInvalidExceptionPauseInfo |
344 } Dart_ExceptionPauseInfo; | 345 } Dart_ExceptionPauseInfo; |
345 | 346 |
346 /** | 347 /** |
347 * Define on which exceptions the debugger pauses. | 348 * Define on which exceptions the debugger pauses. |
348 * | 349 * |
349 * Requires there to be a current isolate. | 350 * Requires there to be a current isolate. |
350 */ | 351 */ |
351 DART_EXPORT Dart_Handle Dart_SetExceptionPauseInfo( | 352 DART_EXPORT Dart_Handle Dart_SetExceptionPauseInfo( |
352 Dart_ExceptionPauseInfo pause_info); | 353 Dart_ExceptionPauseInfo pause_info); |
353 | 354 |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1068 * | 1069 * |
1069 * \return Returns an asynchronous id that must be passed to | 1070 * \return Returns an asynchronous id that must be passed to |
1070 * Dart_TimelineAsyncInstant and Dart_TimelineAsyncEnd. | 1071 * Dart_TimelineAsyncInstant and Dart_TimelineAsyncEnd. |
1071 * | 1072 * |
1072 * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros. | 1073 * NOTE: All timestamps should be acquired from Dart_TimelineGetMicros. |
1073 */ | 1074 */ |
1074 DART_EXPORT Dart_Handle Dart_TimelineAsyncEnd(const char* label, | 1075 DART_EXPORT Dart_Handle Dart_TimelineAsyncEnd(const char* label, |
1075 int64_t async_id); | 1076 int64_t async_id); |
1076 | 1077 |
1077 #endif // INCLUDE_DART_TOOLS_API_H_ | 1078 #endif // INCLUDE_DART_TOOLS_API_H_ |
OLD | NEW |