Consider the following code that is assumed to be correctly marked for debugging
function f()
@bp
for i in 1:10
t = i.^2
end
end
If the debugger is trapped at the for i in 1:10 line I issue the command n then the whole for-loop is executed. This is contrary to every debugger I've used and is also inconsistent with the behavior of other types of blocks in julia. For example, using n on an if statement causes the debugger to enter the block.
Consider the following code that is assumed to be correctly marked for debugging
If the debugger is trapped at the
for i in 1:10line I issue the commandnthen the whole for-loop is executed. This is contrary to every debugger I've used and is also inconsistent with the behavior of other types of blocks in julia. For example, usingnon anifstatement causes the debugger to enter the block.