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

Unified Diff: runtime/observatory/lib/src/elements/debugger.dart

Issue 1243523002: Rename 'astep' to 'anext' to better reflect its semantics. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/debugger.dart
diff --git a/runtime/observatory/lib/src/elements/debugger.dart b/runtime/observatory/lib/src/elements/debugger.dart
index 31bcd91b35f0630321419215ee7897d0dcf085e9..70a32085393a0e3d987e51f4f2e82c270355e564 100644
--- a/runtime/observatory/lib/src/elements/debugger.dart
+++ b/runtime/observatory/lib/src/elements/debugger.dart
@@ -349,8 +349,8 @@ class StepCommand extends DebuggerCommand {
'Syntax: step\n';
}
-class AsyncStepCommand extends DebuggerCommand {
- AsyncStepCommand(Debugger debugger) : super(debugger, 'astep', []) {
+class AsyncNextCommand extends DebuggerCommand {
+ AsyncNextCommand(Debugger debugger) : super(debugger, 'anext', []) {
}
Future run(List<String> args) async {
@@ -369,13 +369,13 @@ class AsyncStepCommand extends DebuggerCommand {
}
String helpShort =
- 'Step into asynchronous continuation';
+ 'Step over await or yield';
String helpLong =
'Continue running the isolate until control returns to the current '
'activation of an async or async* function.\n'
'\n'
- 'Syntax: astep\n';
+ 'Syntax: anext\n';
}
class FinishCommand extends DebuggerCommand {
@@ -979,7 +979,7 @@ class ObservatoryDebugger extends Debugger {
new ContinueCommand(this),
new NextCommand(this),
new StepCommand(this),
- new AsyncStepCommand(this),
+ new AsyncNextCommand(this),
new FinishCommand(this),
new BreakCommand(this),
new SetCommand(this),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698