Skip to content

Commit

Permalink
Some more useful '@debug' statements
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Dec 10, 2024
1 parent b4c88cc commit fc46ecd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GAP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,9 @@ function initialize(argv::Vector{String})
end

GAP.Globals.Read(GapObj(joinpath(@__DIR__, "..", "gap", "pkg.g")))
@debug "finished reading gap/pkg.g"
GAP.Globals.Read(GapObj(joinpath(@__DIR__, "..", "gap", "exec.g")))
@debug "finished reading gap/exec.g"

# set up a few package JLLs
setup_gap_pkg_overrides()
Expand All @@ -224,6 +226,7 @@ function initialize(argv::Vector{String})

# Redirect error messages, in order not to print them to the screen.
GAP.Globals.Read(GapObj(joinpath(@__DIR__, "..", "gap", "err.g")))
@debug "finished reading gap/err.g"

return nothing
end
Expand Down

0 comments on commit fc46ecd

Please sign in to comment.