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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
48 * \return A handle to the True object if no error occurs. | 48 * \return A handle to the True object if no error occurs. |
49 */ | 49 */ |
50 DART_EXPORT Dart_Handle Dart_SetBreakpointAtEntry( | 50 DART_EXPORT Dart_Handle Dart_SetBreakpointAtEntry( |
51 Dart_Handle library, | 51 Dart_Handle library, |
52 Dart_Handle class_name, | 52 Dart_Handle class_name, |
53 Dart_Handle function_name, | 53 Dart_Handle function_name, |
54 Dart_Breakpoint* breakpoint); | 54 Dart_Breakpoint* breakpoint); |
55 | 55 |
56 | 56 |
57 /** | 57 /** |
58 * Deletes the given \breakpoint. | |
59 * | |
60 * Requires there to be a current isolate. | |
61 * | |
62 * \return A handle to the True object if no error occurs. | |
63 */ | |
64 DART_EXPORT Dart_Handle Dart_DeleteBreakpoint( | |
65 Dart_Breakpoint breakpoint); | |
66 | |
siva
2012/01/20 21:26:29
Do we also need a Dart_DeleteAllBreakpoints functi
hausner
2012/01/20 22:20:32
I don't have a good understanding of what we reall
| |
67 | |
68 /** | |
58 * Installs a handler callback function that gets called by the VM | 69 * Installs a handler callback function that gets called by the VM |
59 * when a breakpoint has been reached. | 70 * when a breakpoint has been reached. |
60 * | 71 * |
61 * Requires there to be a current isolate. | 72 * Requires there to be a current isolate. |
62 */ | 73 */ |
63 DART_EXPORT void Dart_SetBreakpointHandler( | 74 DART_EXPORT void Dart_SetBreakpointHandler( |
64 Dart_BreakpointHandler bp_handler); | 75 Dart_BreakpointHandler bp_handler); |
65 | 76 |
66 | 77 |
67 /** | 78 /** |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
106 * \return A handle to the True object if no error occurs. | 117 * \return A handle to the True object if no error occurs. |
107 */ | 118 */ |
108 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo( | 119 DART_EXPORT Dart_Handle Dart_ActivationFrameInfo( |
109 Dart_ActivationFrame activation_frame, | 120 Dart_ActivationFrame activation_frame, |
110 Dart_Handle* function_name, | 121 Dart_Handle* function_name, |
111 Dart_Handle* script_url, | 122 Dart_Handle* script_url, |
112 intptr_t* line_number); | 123 intptr_t* line_number); |
113 | 124 |
114 | 125 |
115 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 126 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
OLD | NEW |