Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: runtime/include/dart_tools_api.h

Issue 1399583003: Add kInvalidExceptionPauseInfo and fix the build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698