-
Couldn't load subscription status.
- Fork 43
Closed
Description
julia> using Cthulhu
julia> @descend sin(1)
sin(x::Real)
@ Base.Math math.jl:1359
│ ─ %-1 = invoke sin(::Int64)::Float64
1360 1 ─ %1 = Base.sitofp(Float64, x)::Float64 │╻╷╷ float
1362 2 ─ %2 = invoke Base.Math.sin(%1::Float64)::Float64 │
└── return %2 │
Select a call to descend into or ↩ to ascend. [q]uit. [b]ookmark.
Toggles: [o]ptimize, [w]arn, [h]ide type-stable statements, [d]ebuginfo, [r]emarks, [e]ffects, [i]nlining costs, [t]ype annotations, [s]yntax highlight for Source/LLVM/Native.
Show: [S]ource code, [A]ST, [T]yped code, [L]LVM IR, [N]ative code
Actions: [E]dit source code, [R]evise and redisplay
Advanced: dump [P]arams cache.
• %2 = invoke sin(::Float64)::Float64
↩Press S
┌ Error: unable to find path containing source for Base, tracking is not possible
└ @ Revise ~/.julia/packages/Revise/VskYC/src/recipes.jl:54
[ Info: tracking Base
┌ Warning: couldn't retrieve source of sin(x::Real)
│ @ Base.Math /base/math.jl:1359
└ @ Cthulhu ~/.julia/packages/Cthulhu/w00gw/src/codeview.jl:63
┌ Warning: /base/special is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
┌ Warning: /base/strings is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
┌ Warning: /base/compiler/ssair is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
┌ Warning: /base/ryu is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
┌ Warning: /base/ is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
┌ Warning: /base/docs is not an existing directory, Revise is not watching
└ @ Revise /home/jishnu/.julia/packages/Revise/VskYC/src/packagedef.jl:566
Select a call to descend into or ↩ to ascend. [q]uit. [b]ookmark.
Toggles: [o]ptimize, [w]arn, [h]ide type-stable statements, [d]ebuginfo, [r]emarks, [e]ffects, [i]nlining costs, [t]ype annotations, [s]yntax highlight for Source/LLVM/Native.
Show: [S]ource code, [A]ST, [T]yped code, [L]LVM IR, [N]ative code
Actions: [E]dit source code, [R]evise and redisplay
Advanced: dump [P]arams cache.
• %2 = invoke sin(::Float64)::Float64
↩Some version info
julia> versioninfo()
Julia Version 1.9.0-DEV.874
Commit bd7bd5e4af7 (2022-06-30 21:08 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 8 × 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.5 (ORCJIT, tigerlake)
Threads: 1 on 8 virtual cores
Environment:
LD_LIBRARY_PATH = :/usr/lib/x86_64-linux-gnu/gtk-3.0/modules
JULIA_EDITOR = vim
(@v1.9) pkg> st Cthulhu
Status `~/.julia/environments/v1.9/Project.toml`
[f68482b8] Cthulhu v2.6.2
(@v1.9) pkg> st Revise
Status `~/.julia/environments/v1.9/Project.toml`
[295af30f] Revise v3.3.3This may be a Revise issue, so feel free to close or raise it over there.
Some hints into what is going on:
julia> @which sin(1)
sin(x::Real)
@ Base.Math /base/math.jl:1359
julia> @edit sin(1) # tries to open /base/math.jl as an absolute path, which is emptyMetadata
Metadata
Assignees
Labels
No labels