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
julia> using Debugger
julia> function foo()
x = rand(2)
@info "hello" x
y = sum(x)
return y
end
foo (generic function with 1 method)
julia> @enter foo()
In foo() at REPL[2]:1
1 function foo()
>2 x = rand(2)
3 @info "hello" x
4 y = sum(x)
5 return y
6 end
About to run: (rand)(2)
1|debug> n
In foo() at REPL[2]:1
368 end
369 return quote
370 let
371 level = $level
>372 std_level = convert(LogLevel, level)
373 if std_level >= _min_enabled_level[]
374 group = $(log_data._group)
375 _module = $(log_data._module)
376 logger = current_logger_for_env(std_level, group, _module)
About to run: (convert)(Base.CoreLogging.LogLevel, Info)
1|debug> so
ERROR: UndefVarError: REPL[2] not defined <----------------------
Stacktrace:
[1] _invoked_shouldlog(logger::Logging.ConsoleLogger, level::Base.CoreLogging.LogLevel, _module::Module, group::Symbol, id::Symbol)
@ Base.CoreLogging logging.jl:78
[2] foo()
@ Main logging.jl:381
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: