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

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

Issue 110913002: Transmit breakpoint id on paused event (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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
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 Dart_Handle script_url; // Url (string) of the script. 48 Dart_Handle script_url; // Url (string) of the script.
49 int32_t library_id; // Library in which the script is loaded. 49 int32_t library_id; // Library in which the script is loaded.
50 int32_t token_pos; // Code address. 50 int32_t token_pos; // Code address.
51 } Dart_CodeLocation; 51 } Dart_CodeLocation;
52 52
53 53
54 typedef void Dart_IsolateEventHandler(Dart_IsolateId isolate_id, 54 typedef void Dart_IsolateEventHandler(Dart_IsolateId isolate_id,
55 Dart_IsolateEvent kind); 55 Dart_IsolateEvent kind);
56 56
57 typedef void Dart_PausedEventHandler(Dart_IsolateId isolate_id, 57 typedef void Dart_PausedEventHandler(Dart_IsolateId isolate_id,
58 intptr_t bp_id,
58 const Dart_CodeLocation& location); 59 const Dart_CodeLocation& location);
59 60
60 typedef void Dart_BreakpointResolvedHandler(Dart_IsolateId isolate_id, 61 typedef void Dart_BreakpointResolvedHandler(Dart_IsolateId isolate_id,
61 intptr_t bp_id, 62 intptr_t bp_id,
62 const Dart_CodeLocation& location); 63 const Dart_CodeLocation& location);
63 64
64 65
65 /** 66 /**
66 * Caches a given \object and returns an object id. The object id is only 67 * Caches a given \object and returns an object id. The object id is only
67 * valid while the VM is paused. The cache is invalidated when the VM 68 * valid while the VM is paused. The cache is invalidated when the VM
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 * \param request A REST-like string, which uses '/' to separate 706 * \param request A REST-like string, which uses '/' to separate
706 * parameters. The first parameter is always the status type. 707 * parameters. The first parameter is always the status type.
707 * 708 *
708 * \return The requested status as a JSON formatted string, with the 709 * \return The requested status as a JSON formatted string, with the
709 * contents defined by the status plug-in. The caller is responsible 710 * contents defined by the status plug-in. The caller is responsible
710 * for freeing this string. 711 * for freeing this string.
711 */ 712 */
712 DART_EXPORT char* Dart_GetVmStatus(const char* request); 713 DART_EXPORT char* Dart_GetVmStatus(const char* request);
713 714
714 #endif // INCLUDE_DART_DEBUGGER_API_H_ 715 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698