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

Unified Diff: README.md

Issue 963893002: Make padding consistent across all stack traces for Chain.toString(). (Closed) Base URL: git@github.com:dart-lang/stack_trace@master
Patch Set: Created 5 years, 10 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 | « CHANGELOG.md ('k') | lib/src/chain.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 24da03cb7fb5c1b0b978c32ae3ebdc552a05bac5..fe85adbae547d5b16303e7f665a2dbfb685da3ee 100644
--- a/README.md
+++ b/README.md
@@ -169,20 +169,20 @@ Now if we run it, it prints this:
dart:io/timer_impl.dart 292 _handleTimeout
dart:isolate-patch/isolate_patch.dart 115 _RawReceivePortImpl._handleMessage
===== asynchronous gap ===========================
- dart:async/zone.dart 476 _ZoneDelegate.registerUnaryCallback
- dart:async/zone.dart 666 _CustomizedZone.registerUnaryCallback
- dart:async/future_impl.dart 164 _Future._Future._then
- dart:async/future_impl.dart 187 _Future.then
- test.dart 13:12 scheduleAsync
- test.dart 7:18 main.<fn>
- dart:async/zone.dart 710 _rootRun
- dart:async/zone.dart 440 _ZoneDelegate.run
- dart:async/zone.dart 650 _CustomizedZone.run
- dart:async/zone.dart 944 runZoned
- package:stack_trace/src/chain.dart 93:20 Chain.capture
- test.dart 6:16 main
- dart:isolate-patch/isolate_patch.dart 216 _startIsolate.isolateStartHandler
- dart:isolate-patch/isolate_patch.dart 115 _RawReceivePortImpl._handleMessage
+ dart:async/zone.dart 476 _ZoneDelegate.registerUnaryCallback
+ dart:async/zone.dart 666 _CustomizedZone.registerUnaryCallback
+ dart:async/future_impl.dart 164 _Future._Future._then
+ dart:async/future_impl.dart 187 _Future.then
+ test.dart 13:12 scheduleAsync
+ test.dart 7:18 main.<fn>
+ dart:async/zone.dart 710 _rootRun
+ dart:async/zone.dart 440 _ZoneDelegate.run
+ dart:async/zone.dart 650 _CustomizedZone.run
+ dart:async/zone.dart 944 runZoned
+ package:stack_trace/src/chain.dart 93:20 Chain.capture
+ test.dart 6:16 main
+ dart:isolate-patch/isolate_patch.dart 216 _startIsolate.isolateStartHandler
+ dart:isolate-patch/isolate_patch.dart 115 _RawReceivePortImpl._handleMessage
That's a lot of text! If you look closely, though, you can see that `main` is
listed in the first trace in the chain.
@@ -191,8 +191,8 @@ Thankfully, you can call `Chain.terse` just like `Trace.terse` to get rid of all
the frames you don't care about. The terse version of the stack chain above is
this:
- test.dart 17:3 runAsync
- test.dart 13:28 scheduleAsync.<fn>
+ test.dart 17:3 runAsync
+ test.dart 13:28 scheduleAsync.<fn>
===== asynchronous gap ===========================
dart:async _Future.then
test.dart 13:12 scheduleAsync
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/chain.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698