Rustのデバッグチートシート
- QiitaRust のデバッグチートシート - QiitaRust Debugging Cheatsheet 開発の基本 エディタ VSCode + rust-analyzer - https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyz...

- Rust 開発環境
- エディタ / LSP
- VS Code
- Neovim
- Rust Analyzer
- Structural Search & Replace
- Formatter
- 保存時の自動処理
- cargo-watch
- cargo watch -x clippy
- cargo watch -x check
- cargo watch -x 'check --tests'
- cargo watch -x test -- --nocapture
- cargo watch -x 'run -- ...'
- RUST_BACKTRACE
- RUST_LOG
- cargo-watch
- Lint
- 依存関係管理
- cargo tree
- cargo tree -i
- cargo udeps
- cargo outdated
- cargo update
- cargo-audit
- cargo tree
- カバレッジ
- コードメトリクス
- エディタ / LSP
- Rust のビルド高速化・管理
- ビルド時間解析
- cargo build --timings
- Fleet
- コンパイルキャッシュ
- 高速リンカ
- Cargo キャッシュ掃除
- Docker 上で Cargo build
- glibc バージョン問題
- 最適化
- バイナリサイズ最適化
- ビルド時間解析
- Rust ソースコードのデバッグ
- dbg!
- 型確認
- わざと型エラーを起こす
- std::any::type_name
- コンパイルエラー
- 大量のエラーを先頭から潰す
- Rust Compiler Error Index
- マクロ展開
- cargo expand
- cargo expand -- main
- cargo expand
- AST
- AST確認
- 依存クレート解析
- Rust情報源
- テスト
- 実行バイナリ解析
- cargo-binutils
- Linux memory map
- stack
- heap
- shared library
- ELF
- 動的リンク
- shared library
- シンボル解析
- アセンブリ
- LLVM IR
- オンライン解析
- 共有ライブラリ / ELF 調査
- システムコール解析
- strace
- strace -tt -T -f executable
- strace -p PID
- strace
- プロファイリング
- rr + rust-gdb
- rr
- record/replay debugger
- rr record
- rr replay -d rust-gdb
- reverse debugging
- rust-gdb
- gdb-dashboard
- rr
- プロセスメモリ
- コアダンプ
- メモリリーク
- Cross compile