| 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 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 /** | 42 /** |
| 43 * Returns a cached object given the \obj_id. | 43 * Returns a cached object given the \obj_id. |
| 44 * | 44 * |
| 45 * Requires there to be a current isolate. | 45 * Requires there to be a current isolate. |
| 46 */ | 46 */ |
| 47 DART_EXPORT Dart_Handle Dart_GetCachedObject(intptr_t obj_id); | 47 DART_EXPORT Dart_Handle Dart_GetCachedObject(intptr_t obj_id); |
| 48 | 48 |
| 49 | 49 |
| 50 /** | 50 /** |
| 51 * DEPRECATED -- use Gart_GetLibraryIds instead. | 51 * DEPRECATED -- use Dart_GetLibraryIds instead. |
| 52 * | 52 * |
| 53 * Returns a list of urls (strings) of all the libraries loaded in the | 53 * Returns a list of urls (strings) of all the libraries loaded in the |
| 54 * current isolate. | 54 * current isolate. |
| 55 * | 55 * |
| 56 * Requires there to be a current isolate. | 56 * Requires there to be a current isolate. |
| 57 * | 57 * |
| 58 * \return A handle to a list of string handles. | 58 * \return A handle to a list of string handles. |
| 59 */ | 59 */ |
| 60 DART_EXPORT Dart_Handle Dart_GetLibraryURLs(); | 60 DART_EXPORT Dart_Handle Dart_GetLibraryURLs(); |
| 61 // TODO(turnidge): The embedding and debugger apis are not consistent | 61 // TODO(turnidge): The embedding and debugger apis are not consistent |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 * Returns the url of the library \library_id. | 459 * Returns the url of the library \library_id. |
| 460 * | 460 * |
| 461 * Requires there to be a current isolate. | 461 * Requires there to be a current isolate. |
| 462 * | 462 * |
| 463 * \return A string handle containing the URL of the library. | 463 * \return A string handle containing the URL of the library. |
| 464 */ | 464 */ |
| 465 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); | 465 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); |
| 466 | 466 |
| 467 | 467 |
| 468 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 468 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |