OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_ |
| 6 #define INCLUDE_DART_DEBUGGER_API_H_ |
| 7 |
| 8 #include "include/dart_api.h" |
| 9 |
| 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; |
| 11 |
| 12 |
| 13 /** |
| 14 * Sets a breakpoint at the entry of the given function. If class_name |
| 15 * is the empty string, looks for a library function with the given |
| 16 * name. |
| 17 * |
| 18 * Requires there to be a current isolate. |
| 19 * |
| 20 * \breakpoint If non-null, will point to the breakpoint object |
| 21 * if a breakpoint was successfully created. |
| 22 * |
| 23 * \return A handle to the True object if no error occurs. |
| 24 */ |
| 25 DART_EXPORT Dart_Handle Dart_SetBreakpointAtEntry( |
| 26 Dart_Handle library, |
| 27 Dart_Handle class_name, |
| 28 Dart_Handle function_name, |
| 29 Dart_Breakpoint* breakpoint); |
| 30 |
| 31 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
OLD | NEW |