Chromium Code Reviews| Index: runtime/include/dart_debugger_api.h |
| =================================================================== |
| --- runtime/include/dart_debugger_api.h (revision 19934) |
| +++ runtime/include/dart_debugger_api.h (working copy) |
| @@ -158,6 +158,19 @@ |
| /** |
| + * Returns a string containing a generated source code of the given script |
| + * in the given library. |
| + * |
| + * Requires there to be a current isolate. |
| + * |
| + * \return A handle to string containing the source text if no error |
| + * occurs. |
| + */ |
| +DART_EXPORT Dart_Handle Dart_GenerateScriptSource(Dart_Handle library_url_in, |
|
Ivan Posva
2013/03/13 22:30:38
I am questioning the reason behind adding this API
siva
2013/03/14 05:57:34
The existing API will return the source available
|
| + Dart_Handle script_url_in); |
| + |
| + |
| +/** |
| * Sets a breakpoint at line \line_number in \script_url, or the closest |
| * following line (within the same function) where a breakpoint can be set. |
| * |