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

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

Issue 1393523002: Support tab completion of line:col in the debugger. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix warnings and other issues Created 5 years, 2 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
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 472335858137e2108a680ab5cf4988d9e86e1b85..10d5a677610cb84ab0c2ca2ae9832b99499e4ebd 100644
--- a/runtime/observatory/lib/src/elements/debugger.dart
+++ b/runtime/observatory/lib/src/elements/debugger.dart
@@ -2321,13 +2321,13 @@ class DebuggerInputElement extends ObservatoryElement {
var modalCallback = null;
void enterMode(String prompt, callback) {
- assert(prompt == null);
+ assert(modalPrompt == null);
modalPrompt = prompt;
modalCallback = callback;
}
void exitMode() {
- assert(prompt != null);
+ assert(modalPrompt != null);
modalPrompt = null;
modalCallback = null;
}

Powered by Google App Engine
This is Rietveld 408576698