We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d2c0a commit 0963309Copy full SHA for 0963309
stdlib/Profile/src/Profile.jl
@@ -67,7 +67,7 @@ function _peek_report()
67
iob = IOBuffer()
68
ioc = IOContext(IOContext(iob, stderr), :displaysize=>displaysize(stderr))
69
print(ioc, groupby = [:thread, :task])
70
- Base.print(stderr, String(take!(iob)))
+ Base.print(stderr, read(seekstart(iob), AnnotatedString))
71
end
72
# This is a ref so that it can be overridden by other profile info consumers.
73
const peek_report = Ref{Function}(_peek_report)
0 commit comments