Skip to content

Mention enabling cranelift breaks variable inspection while debugging#2472

Merged
alice-i-cecile merged 5 commits into
bevyengine:mainfrom
invertedEcho:cranelift-breaks-debugging
Jun 11, 2026
Merged

Mention enabling cranelift breaks variable inspection while debugging#2472
alice-i-cecile merged 5 commits into
bevyengine:mainfrom
invertedEcho:cranelift-breaks-debugging

Conversation

@invertedEcho

@invertedEcho invertedEcho commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Hi, I just spent a few hours trying to figure out why I can't see any variables while debugging.
Turns out that enabling cranelift, as explained in fast-compiles, may improve compile times, but also breaks variable inspection.

There is even an issue open:
bevyengine/bevy#19916

Therefore, it really should be documented that this has negative downsides, so other people won't run into the same issue.

This closes bevyengine/bevy#19916

@invertedEcho

Copy link
Copy Markdown
Contributor Author

I'm not really sure, seems like the docs are duplicated? I can find this section in two different places.

@Based-A Based-A left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a good note to have, especially since we're looking to eventually wanting to expand debugging in the Book.

Comment thread content/learn/quick-start/getting-started/setup.md Outdated
Comment thread content/learn/book/development-practices/fast-compiles.md Outdated
@Based-A Based-A added S-Ready-For-Final-Review Ready for a maintainer to consider for merging and removed S-Waiting-On-Author labels Jun 8, 2026
Comment thread content/learn/book/development-practices/fast-compiles.md Outdated
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jun 11, 2026
Merged via the queue into bevyengine:main with commit 409560f Jun 11, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Book C-Content S-Ready-For-Final-Review Ready for a maintainer to consider for merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that Cranelift breaks LLDB variable inspection

3 participants