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

Allow user to step into failing generator #617

Open
vchuravy opened this issue Feb 13, 2025 · 0 comments
Open

Allow user to step into failing generator #617

vchuravy opened this issue Feb 13, 2025 · 0 comments

Comments

@vchuravy
Copy link
Member

Currently, we hit a type-assert if the generator failed, but it would be great if generally we could show the user the generator that failed.

Cthulhu.jl/src/Cthulhu.jl

Lines 852 to 855 in a8fcae8

# we may want to handle the case when `InferenceState(...)` returns `nothing`,
# which indicates code generation of a `@generated` has been failed,
# and show it in the UI in some way?
frame = InferenceState(result, #=cache_mode=#:global, interp)::InferenceState

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

No branches or pull requests

1 participant