Skip to content

Fix print_response hanging on 1.11.5+ #367

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

Merged
merged 3 commits into from
Apr 18, 2025

Conversation

IanButterworth
Copy link
Contributor

Replaces #366

Needs testing @oscardssmith @KristofferC

src/repl.jl Outdated
response = _eval_code(active_frame(state), command)
response = _eval_code(active_frame(state), command)
@static if VERSION >= v"1.11.5"
fetch(@async REPL.print_response(state.repl, response, true, true))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason this isn't using @spawn instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No reason. Did it work like this?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah. It works both with @async and @spawn

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Updated. Needs CI to be run, if you have perms.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't. @KristofferC can you run CI?

@KristofferC KristofferC merged commit 4658f93 into JuliaDebug:master Apr 18, 2025
2 of 6 checks passed
@IanButterworth IanButterworth deleted the patch-1 branch April 18, 2025 13:18
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.

3 participants