Skip to content

Debugger jumps inside if block even if if statement evaluates to false (but doesnt actually execute the statement inside, correctly) #364

@ajinkya-k

Description

@ajinkya-k

I noticed this when using Debugger when stepping through the deploydocs function from here, but there is some strange behaviour here:

  1. (picture 1) debugger is at line 235, and deploy_decision.all_ok is false so the entire if block should be skipped
Image
  1. (picture 2) but when I click "next" the debugger jumps to line 252 which is inside the if block which must be skipped
Image
  1. when i click next again it (correctly) exits the function

Julia version:

julia> VERSION
v"1.11.4"

Debugger version:

(@v1.11) pkg> st Debugger
Status `~/.julia/environments/v1.11/Project.toml`
  [31a5f54b] Debugger v0.7.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions