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

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

Issue 9484002: StepOver, StepInto, StepOut (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/code_generator.h » ('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_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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 * 94 *
95 * Requires there to be a current isolate. 95 * Requires there to be a current isolate.
96 * 96 *
97 * \return A handle to the True object if no error occurs. 97 * \return A handle to the True object if no error occurs.
98 */ 98 */
99 DART_EXPORT Dart_Handle Dart_DeleteBreakpoint( 99 DART_EXPORT Dart_Handle Dart_DeleteBreakpoint(
100 Dart_Breakpoint breakpoint); 100 Dart_Breakpoint breakpoint);
101 101
102 102
103 /** 103 /**
104 * Can be called from the breakpoint handler. Sets the debugger to
105 * single step mode.
106 *
107 * Requires there to be a current isolate.
108 */
109 DART_EXPORT Dart_Handle Dart_SetStepOver();
110
111
112 /**
113 * Can be called from the breakpoint handler. Causes the debugger to
114 * break after at the beginning of the next function call.
115 *
116 * Requires there to be a current isolate.
117 */
118 DART_EXPORT Dart_Handle Dart_SetStepInto();
119
120
121 /**
122 * Can be called from the breakpoint handler. Causes the debugger to
123 * break after returning from the current Dart function.
124 *
125 * Requires there to be a current isolate.
126 */
127 DART_EXPORT Dart_Handle Dart_SetStepOut();
128
129
130 /**
104 * Installs a handler callback function that gets called by the VM 131 * Installs a handler callback function that gets called by the VM
105 * when a breakpoint has been reached. 132 * when a breakpoint has been reached.
106 * 133 *
107 * Requires there to be a current isolate. 134 * Requires there to be a current isolate.
108 */ 135 */
109 DART_EXPORT void Dart_SetBreakpointHandler( 136 DART_EXPORT void Dart_SetBreakpointHandler(
110 Dart_BreakpointHandler bp_handler); 137 Dart_BreakpointHandler bp_handler);
111 138
112 139
113 /** 140 /**
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 * \return A handle to an array containing field names and 244 * \return A handle to an array containing field names and
218 * corresponding field values. The array is empty if the class has 245 * corresponding field values. The array is empty if the class has
219 * no static fields. If non-empty, field names are at array offsets 2*n, 246 * no static fields. If non-empty, field names are at array offsets 2*n,
220 * values at offset 2*n+1. Field values may also be a handle to an 247 * values at offset 2*n+1. Field values may also be a handle to an
221 * error object if an error was encountered evaluating the field. 248 * error object if an error was encountered evaluating the field.
222 */ 249 */
223 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle cls); 250 DART_EXPORT Dart_Handle Dart_GetStaticFields(Dart_Handle cls);
224 251
225 252
226 #endif // INCLUDE_DART_DEBUGGER_API_H_ 253 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698