Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enter doesn't take you into the function #59

Closed
KristofferC opened this issue Jul 13, 2019 · 1 comment · Fixed by #64
Closed

Enter doesn't take you into the function #59

KristofferC opened this issue Jul 13, 2019 · 1 comment · Fixed by #64

Comments

@KristofferC
Copy link
Contributor

Instead you get to this state:

Breakpoint Hit: (::getfield(Main, Symbol("##19#20")))() in Main at /Users/kristoffer/.julia/packages/MagneticReadHead/EjaBR/src/MagneticReadHead.jl:67
         iron_debug(ctx) do
             ctx.metadata.stepping_mode = StepIn
➧            $(esc(body))
         end
     end

Vars: #temp#
Commands: CC (Continue), SI (Step In), SN (Step Next), SO (Step Out), XX (Abort)
@KristofferC KristofferC changed the title Enter doesn't take you into the function: Enter doesn't take you into the function Jul 13, 2019
@oxinabox
Copy link
Owner

yep, this is a thing.
I'm yet to work out a clean way to do it.
Because it is breaking on the first function call after @enter,
it is just that that function call happens to be before the function you are support to be entering.

Possibly the simplest would be a bit of a hack that just disallowed breaking inside MagneticReadHead.
The other options like working out what is the actual function and setting a breakpoint there, once,
are annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants