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

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

Issue 1524263002: Fix line number reporting for unresolved breakpoints. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/script_inset.dart
diff --git a/runtime/observatory/lib/src/elements/script_inset.dart b/runtime/observatory/lib/src/elements/script_inset.dart
index 9988ec99756e555626906189863ec475a0f96ea0..47bbff7b4f3d4066834e0250192e0e19594d5546 100644
--- a/runtime/observatory/lib/src/elements/script_inset.dart
+++ b/runtime/observatory/lib/src/elements/script_inset.dart
@@ -429,7 +429,7 @@ class ScriptInsetElement extends ObservatoryElement {
if (loc.tokenPos != null) {
line = script.tokenToLine(loc.tokenPos);
} else {
- line = script.tokenToLine(loc.line);
+ line = loc.line;
}
if ((line >= _startLine) && (line <= _endLine)) {
_updateTask.queue();
« 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