| 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 /** | 38 /** |
| 39 * Returns a cached object given the \obj_id. | 39 * Returns a cached object given the \obj_id. |
| 40 * | 40 * |
| 41 * Requires there to be a current isolate. | 41 * Requires there to be a current isolate. |
| 42 */ | 42 */ |
| 43 DART_EXPORT Dart_Handle Dart_GetCachedObject(intptr_t obj_id); | 43 DART_EXPORT Dart_Handle Dart_GetCachedObject(intptr_t obj_id); |
| 44 | 44 |
| 45 | 45 |
| 46 /** | 46 /** |
| 47 * DEPRECATED -- use Gart_GetLibraryIds instead. | 47 * DEPRECATED -- use Dart_GetLibraryIds instead. |
| 48 * | 48 * |
| 49 * Returns a list of urls (strings) of all the libraries loaded in the | 49 * Returns a list of urls (strings) of all the libraries loaded in the |
| 50 * current isolate. | 50 * current isolate. |
| 51 * | 51 * |
| 52 * Requires there to be a current isolate. | 52 * Requires there to be a current isolate. |
| 53 * | 53 * |
| 54 * \return A handle to a list of string handles. | 54 * \return A handle to a list of string handles. |
| 55 */ | 55 */ |
| 56 DART_EXPORT Dart_Handle Dart_GetLibraryURLs(); | 56 DART_EXPORT Dart_Handle Dart_GetLibraryURLs(); |
| 57 // TODO(turnidge): The embedding and debugger apis are not consistent | 57 // TODO(turnidge): The embedding and debugger apis are not consistent |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 * Returns the url of the library \library_id. | 447 * Returns the url of the library \library_id. |
| 448 * | 448 * |
| 449 * Requires there to be a current isolate. | 449 * Requires there to be a current isolate. |
| 450 * | 450 * |
| 451 * \return A string handle containing the URL of the library. | 451 * \return A string handle containing the URL of the library. |
| 452 */ | 452 */ |
| 453 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); | 453 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); |
| 454 | 454 |
| 455 | 455 |
| 456 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 456 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |