feat: add native debugging lesson to Module 054 - #1
Open
yablokolabs wants to merge 1 commit into
Open
Conversation
Teach panic backtraces, rust-lldb and rust-gdb alongside the existing profiling workflow. Add a deterministic boundary-bug lab, matching exercise and solution tests, and update curriculum references.
Owner
|
Thanks for the additions, i will review it and merge it asap. genuinely appreciate it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rust-lldb/rust-gdb, and profilingTest plan
cargo fmt --all -- --checkcargo clippy --locked -p module-054-exercises -p module-054-solutions --all-targets -- -D warningscargo test --locked -p module-054-solutions— 13 passedslow_sample_treats_threshold_as_acceptableRUST_BACKTRACE=1lab run reports the wrong boundary result and a source-level stackrust-lldbloads Rust formatters and resolves the exact breakpoint tolib.rs:37rust-gdbstops atfirst_slow_sample, inspectssamples/threshold, and prints the two-frame stackBaseline note
Current upstream
maincannot load the complete Cargo workspace because Module 013's exercise manifest is committed underexercises/tests/Cargo.tomlinstead ofexercises/Cargo.toml. That pre-existing issue is outside this focused Module 054 change, so verification used a temporary untracked manifest shim and removed it before staging.