Skip to content

Commit 01646ad

Browse files
KristofferCtimholy
authored andcommitted
add missing recurse for call in next_line! (#301)
1 parent b805ebd commit 01646ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function next_line!(@nospecialize(recurse), frame::Frame, istoplevel::Bool=false
172172
pc = frame.pc
173173
initialline, initialfile = linenumber(frame, pc), getfile(frame, pc)
174174
predicate(frame) = isexpr(pc_expr(frame), :return) || (linenumber(frame) != initialline || getfile(frame) != initialfile)
175-
pc = next_until!(predicate, frame, istoplevel)
175+
pc = next_until!(predicate, recurse, frame, istoplevel)
176176
(pc === nothing || isa(pc, BreakpointRef)) && return pc
177177
maybe_step_through_kwprep!(recurse, frame, istoplevel)
178178
maybe_next_call!(recurse, frame, istoplevel)

0 commit comments

Comments
 (0)