You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v _sort!(::Vector{Any}, ::Base.Sort.Small{10, Base.Sort.InsertionSortAlg, Base.Sort.IEEEFloatOptimization{Base.Sort.IsUIntMappable{Base.Sort.Small{
251
+
```
252
+
253
+
This is an interactive menu showing each "callee" above the "caller": use the up and down arrows to pick a call to `descend` into. If you scroll to the bottom
254
+
you'll see the `profile_test_sort` call that triggered the whole cascade.
255
+
256
+
You can also see type-inference results without using Cthulhu: just enter
257
+
258
+
```
259
+
julia>warntype_clicked()
260
+
```
261
+
262
+
at the REPL. You'll see the result of Julia's `code_warntype` for the call you clicked on.
263
+
264
+
187
265
### Advanced usage: deeper analysis of specific dispatches
188
266
189
267
`ProfileView.clicked[]` stores a stackframe entry for the most recently clicked
Run [Cthulhu's](https://github.com/JuliaDebug/Cthulhu.jl) `ascend` for the most recently-clicked bar.
94
+
To make this function available, you must be `using Cthulhu` in your session.
95
+
96
+
Keyword arguments control the initial view mode.
97
+
98
+
See also: [`descend_clicked`](@ref)
99
+
"""
100
+
function ascend_clicked end
101
+
74
102
mutable struct ZoomCanvas
75
103
bb::BoundingBox# in user-coordinates
76
104
c::Canvas
@@ -489,7 +517,7 @@ end
489
517
490
518
The toolbar at the top includes icons to load and save profile data. Clicking the save icon will prompt you for a filename; you should use extension *.jlprof for any file you save. Launching `ProfileView.view(nothing)` opens a blank window, which you can populate with saved data by clicking on the "open" icon.
491
519
492
-
After clicking on a bar, you can type `warntype_last()` and see the result of `code_warntype` for the call represented by that bar.
520
+
After clicking on a bar, you can type `warntype_clicked()` and see the result of `code_warntype` for the call represented by that bar. Alterntively, use `descend_clicked` (requires loading Cthulhu.jl).
493
521
494
522
`ProfileView.view(windowname="method1")` allows you to name your window, which can help avoid confusion when opening several ProfileView windows simultaneously.
0 commit comments