Skip to content

Using n on a for-loop skips over the loop #47

@nfoti

Description

@nfoti

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions