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

Unified Diff: runtime/observatory/lib/src/repositories/target.dart

Issue 2603383004: Sane asynchronous debugging and stack traces (Closed)
Patch Set: rebase Created 3 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
Index: runtime/observatory/lib/src/repositories/target.dart
diff --git a/runtime/observatory/lib/src/repositories/target.dart b/runtime/observatory/lib/src/repositories/target.dart
index 69290fcc6380a16894caaa39e91012090394a5f2..185a3b8cffeb114975167b0bd182169d4b3e6239 100644
--- a/runtime/observatory/lib/src/repositories/target.dart
+++ b/runtime/observatory/lib/src/repositories/target.dart
@@ -101,6 +101,9 @@ class TargetRepository implements M.TargetRepository {
}
static String _networkAddressOfDefaultTarget() {
+ if (!identical(1, 1.0)) {
+ return 'ws://127.0.0.1:8181/ws';
+ }
Uri serverAddress = Uri.parse(window.location.toString());
return 'ws://${serverAddress.authority}${serverAddress.path}ws';
}
« no previous file with comments | « runtime/observatory/lib/src/models/repositories/target.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698