Skip to content

Commit f1c3e35

Browse files
KristofferCtimholy
authored andcommitted
Also check for the error type thrown
1 parent 5f56673 commit f1c3e35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/debug.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ struct B{T} end
228228
frame = JuliaInterpreter.enter_call(fundef)
229229
fr, pc = debug_command(frame, "s")
230230
@test isa(pc, BreakpointRef)
231+
@test pc.err isa UndefVarError
231232
finally
232233
JuliaInterpreter.break_on_error[] = false
233234
end

0 commit comments

Comments
 (0)