| Index: runtime/include/dart_debugger_api.h
|
| ===================================================================
|
| --- runtime/include/dart_debugger_api.h (revision 26604)
|
| +++ runtime/include/dart_debugger_api.h (working copy)
|
| @@ -480,7 +480,9 @@
|
| * The expression is evaluated in the context of \target.
|
| * If \target is a Dart object, the expression is evaluated as if
|
| * it were an instance method of the class of the object.
|
| - * TODO(hausner): add other execution contexts, e.g. library and class.
|
| + * If \target is a Class, the expression is evaluated as if it
|
| + * were a static method of that class.
|
| + * TODO(hausner): add 'library' execution context.
|
| *
|
| * \return A handle to the computed value, or an error object if
|
| * the compilation of the expression fails, or if the evaluation throws
|
| @@ -533,6 +535,16 @@
|
|
|
|
|
| /**
|
| + * Returns handle to class with class id \class_id.
|
| + *
|
| + * Requires there to be a current isolate.
|
| + *
|
| + * \return A handle to the class if no error occurs.
|
| + */
|
| +DART_EXPORT Dart_Handle Dart_GetClassFromId(intptr_t class_id);
|
| +
|
| +
|
| +/**
|
| * Returns info about the given class \cls_id.
|
| *
|
| * \param class_name receives handle to class name (string) if non-null.
|
|
|