Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: runtime/include/dart_debugger_api.h

Issue 9264058: Debugger API: get local variables of an activation frame (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | runtime/vm/debugger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/include/dart_debugger_api.h
===================================================================
--- runtime/include/dart_debugger_api.h (revision 3703)
+++ runtime/include/dart_debugger_api.h (working copy)
@@ -159,6 +159,21 @@
/**
+ * Returns an array containing all the local variable names and values of
+ * the given \activation_frame.
+ *
+ * Requires there to be a current isolate.
+ *
+ * \return A handle to an array containing variable names and
+ * corresponding values. The array is empty if the activation frame has
+ * no variables. If non-empty, variable names are at array offsets 2*n,
+ * values at offset 2*n+1.
+ */
+DART_EXPORT Dart_Handle Dart_GetLocalVariables(
+ Dart_ActivationFrame activation_frame);
+
+
+/**
* Returns the class of the given \object.
*
* Requires there to be a current isolate.
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | runtime/vm/debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698