| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 * DEPRECATED -- use Gart_GetLibraryIds instead. | 47 * DEPRECATED -- use Gart_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 |
| 58 // in how they capitalize url. One uses 'Url' and the other 'URL'. |
| 59 // They should be the same. |
| 57 | 60 |
| 58 | 61 |
| 59 /** | 62 /** |
| 60 * Returns a list of ids (integers) of all the libraries loaded in the | 63 * Returns a list of ids (integers) of all the libraries loaded in the |
| 61 * current isolate. | 64 * current isolate. |
| 62 * | 65 * |
| 63 * Requires there to be a current isolate. | 66 * Requires there to be a current isolate. |
| 64 * | 67 * |
| 65 * \return A handle to a list of library ids. | 68 * \return A handle to a list of library ids. |
| 66 */ | 69 */ |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 * Returns the url of the library \library_id. | 431 * Returns the url of the library \library_id. |
| 429 * | 432 * |
| 430 * Requires there to be a current isolate. | 433 * Requires there to be a current isolate. |
| 431 * | 434 * |
| 432 * \return A string handle containing the URL of the library. | 435 * \return A string handle containing the URL of the library. |
| 433 */ | 436 */ |
| 434 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); | 437 DART_EXPORT Dart_Handle Dart_GetLibraryURL(intptr_t library_id); |
| 435 | 438 |
| 436 | 439 |
| 437 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 440 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
| OLD | NEW |