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

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

Issue 9271008: Implement deletion of breakpoints (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 11 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/debugger.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698