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

Infiltrator often does not work (no MWE) #63

Closed
bhalonen opened this issue Jan 24, 2022 · 3 comments
Closed

Infiltrator often does not work (no MWE) #63

bhalonen opened this issue Jan 24, 2022 · 3 comments

Comments

@bhalonen
Copy link

I have a strange behavior in Infiltrator will occasionally stop, but often just skip right over the breakpoint.

Any ideas on how to promote the likelihood of the breakpoint being seen?

@pfitzseb
Copy link
Member

Well, there are a few possibilities here:

  • world age issues (an older, uninfiltrated, method is called instead)
  • type instabilities causing another method to be called altogether
  • the infiltrated method is called on another task (in which case the infiltration point is automatically disabled; this is printed to the terminal though)

Might also be worth clearing the set of disabled infiltration points with Infiltrator.clear_disabled!().

@bhalonen
Copy link
Author

now it works every time. I did nothing to fix it....
on the causes you listed

  • It didnt work with a fresh restart often
  • I had printout around the call, that showed the line getting hit

mysterious.

@bhalonen
Copy link
Author

really beautiful package by the way.

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

No branches or pull requests

2 participants