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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
465 * Requires there to be a current isolate. | 465 * Requires there to be a current isolate. |
466 * | 466 * |
467 * \return A handle to an array containing variable names and | 467 * \return A handle to an array containing variable names and |
468 * corresponding values. Variable names are at array offsets 2*n, | 468 * corresponding values. Variable names are at array offsets 2*n, |
469 * values at offset 2*n+1. | 469 * values at offset 2*n+1. |
470 */ | 470 */ |
471 DART_EXPORT Dart_Handle Dart_GetGlobalVariables(intptr_t library_id); | 471 DART_EXPORT Dart_Handle Dart_GetGlobalVariables(intptr_t library_id); |
472 | 472 |
473 | 473 |
474 /** | 474 /** |
475 * Execute the expression given is string \expr in the context | |
476 * of \object. | |
477 * | |
478 * Requires there to be a current isolate. | |
479 * | |
480 * \return A handle to the computed value, or an error object if | |
481 * the compilation of the expression fails, or the evaluation throws | |
482 * an error. | |
483 */ | |
484 DART_EXPORT Dart_Handle Dart_EvaluateExpr(Dart_Handle object, | |
Ivan Posva
2013/08/19 21:32:18
object -> target to match other functions in dart_
hausner
2013/08/19 22:47:38
Done. Also added TODOs in the wire protocol code t
| |
485 Dart_Handle expr); | |
486 | |
487 | |
488 /** | |
475 * Returns the class of the given \object. | 489 * Returns the class of the given \object. |
476 * | 490 * |
477 * Requires there to be a current isolate. | 491 * Requires there to be a current isolate. |
478 * | 492 * |
479 * \return A handle to the class object. | 493 * \return A handle to the class object. |
480 */ | 494 */ |
481 DART_EXPORT Dart_Handle Dart_GetObjClass(Dart_Handle object); | 495 DART_EXPORT Dart_Handle Dart_GetObjClass(Dart_Handle object); |
482 | 496 |
483 | 497 |
484 /** | 498 /** |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
633 * \param request A REST-like string, which uses '/' to separate | 647 * \param request A REST-like string, which uses '/' to separate |
634 * parameters. The first parameter is always the status type. | 648 * parameters. The first parameter is always the status type. |
635 * | 649 * |
636 * \return The requested status as a JSON formatted string, with the | 650 * \return The requested status as a JSON formatted string, with the |
637 * contents defined by the status plug-in. The caller is responsible | 651 * contents defined by the status plug-in. The caller is responsible |
638 * for freeing this string. | 652 * for freeing this string. |
639 */ | 653 */ |
640 DART_EXPORT char* Dart_GetVmStatus(const char* request); | 654 DART_EXPORT char* Dart_GetVmStatus(const char* request); |
641 | 655 |
642 #endif // INCLUDE_DART_DEBUGGER_API_H_ | 656 #endif // INCLUDE_DART_DEBUGGER_API_H_ |
OLD | NEW |