-
Notifications
You must be signed in to change notification settings - Fork 22
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
@infiltrate
stops working when Revise encounters parse errors
#45
Comments
Hm, interestingly enough I can't repro this issue. Just to be sure, you're on the latest version of both packages? Also, what Julia version are you on? |
Yup, latest tagged version of both packages. On Julia 1.6.2. This is using a |
Very weird. With you startup file I get
|
Ah! No, I think I figured it out, it's the combination of the two errors. Don't pass Btw, for the hell of it I tried this in a fresh environment and it makes no difference. I've also changed by |
Still no luck:
|
I'm incredibly confused... I can reproduce this quite reliably... |
The fact that I was able to achieve the same behavior you got when I changed the code a bit may suggest that this is a terrifying heisenbug... 😨 |
If you have time it would be useful to see what Revise's debug tools say to your situation: https://timholy.github.io/Revise.jl/stable/debugging/. |
I'm so confused... I can't even get Revise to capture any logs... I'm using Maybe there is something really whacked out about my Revise? At this point I don't know what that can be though, I'm just using latest tags, and now my |
Pinging @timholy in case he has any idea what's going on here. |
A small update on this, still experiencing this, it's still pretty annoying, and I still can't seem to figure out what's going on. However, so far it seems that when I do |
Still can't isolate this but I've been dealing with this for quite a while now so I wanted to update with my experiences... This still happens all the time and is very annoying, however, any time it does happen I can always fix it by explicitly calling |
I'll close this for now. Feel free to reopen this or open a new issues if you encounter the bug again. |
Consider including the following script with
includet
At first, this works as expected. Then, I cause a parsing error by changing
"what"
to"what'
. Revise the throws the following error as expectedAfter fixing the string and recovering Revise with
Revise.revise()
, Revise is again working as expected. Infiltrator, however, does not and no longer breaks at@infiltrate
even if I move it. I can confirm that Revise is working properly withprint
statements or whatever else, so this looks like purely an Infiltrator issue, though I can't rule out that something funky is happening in Revise that is stopping it from expanding the macro properly.The text was updated successfully, but these errors were encountered: