From b3bc98513c960308409fe0f22ba7e232c385cdae Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Wed, 29 Mar 2023 13:10:12 +0200 Subject: [PATCH] [julia] Add Cthulhu macros to list of tooling to automatically load on demand. --- .julia/config/startup.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.julia/config/startup.jl b/.julia/config/startup.jl index 0b65272..d889279 100644 --- a/.julia/config/startup.jl +++ b/.julia/config/startup.jl @@ -26,11 +26,13 @@ if Base.isinteractive() && # Automatically load tooling on demand: # - BenchmarkTools.jl when encountering @btime or @benchmark + # - Cthulhu.jl when encountering @descend(_code_(typed|warntype)) # - Debugger.jl when encountering @enter or @run # - Profile.jl when encountering @profile # - ProfileView.jl when encountering @profview local tooling_dict = Dict{Symbol,Vector{Symbol}}( :BenchmarkTools => Symbol.(["@btime", "@benchmark"]), + :Cthulhu => Symbol.(["@descend", "@descend_code_typed", "@descend_code_warntype"]), :Debugger => Symbol.(["@enter", "@run"]), :Profile => Symbol.(["@profile"]), :ProfileView => Symbol.(["@profview"]),