I have the following simple code
module TestIf
export test_code
function test_code(head, top_ex)
for ex in top_ex.args
if typeof(ex) == LineNumberNode
continue
elseif typeof(ex) == Expr
println("Expression!")
else
println("nothing!")
end
end
end
end
Then I run Debugger like this:
@enter test_code(:Test, quote
a = Float()
@someMacro begin
b = a + 1
end
end)
then I do 'n' two times and get this stage:
1|debug> n
In test_code(head, top_ex) at C:\Users\Cong Van\Documents\Debugger.jl\test\TestIf.jl:4
6 continue
7 elseif typeof(ex) == Expr
8 println("Expression!")
9 else
>10 println("nothing!")
11 end
12 end
13 end
which is not correct. I think it should be at the 'end' of if statement. Any idea?
I have the following simple code
Then I run Debugger like this:
then I do 'n' two times and get this stage:
which is not correct. I think it should be at the 'end' of if statement. Any idea?