Skip to content

Conversation

@serenity4
Copy link
Contributor

Caused by JuliaLang/julia#57635, if in the future this issue is resolved in a way that allows for evaluation into closed modules during precompilation then we may revert this PR as well as #134.

#134 was not sufficient (see #134 (comment)) because Infiltrator.__init__() may still be called during precompilation by any package that loads Infiltrator, and this function mutates the store.

I further added a safeguard during access to getfield(::Session, :store) to make sure we correctly report any errors due to this new behavior.

@pfitzseb
Copy link
Member

pfitzseb commented Apr 1, 2025

Tests need JuliaDebug/TerminalRegressionTests.jl#18.

@pfitzseb pfitzseb closed this Apr 1, 2025
@pfitzseb pfitzseb reopened this Apr 1, 2025
@pfitzseb pfitzseb merged commit 9ceed3a into JuliaDebug:master Apr 1, 2025
12 of 14 checks passed
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 this pull request may close these issues.

2 participants