-
macOS러스트rust_debug_❤️leak memory체크하는 방법] cargo-instruments 설치 후 leak memory 체크하기코딩Coding/Rust_Debugger_heap_memory_check 2022. 4. 6. 22:08728x90
homebrew 설치하기
brew install cargo-instruments
instruments 어플로 볼 파일 만들기cargo instruments -t Allocations
open rust_opencv-qr-demo_Allocations_2022-04-06_220220-658.trace cd target\instruments 폴더 들어가면 파일이 만들어져 있음 그리고 open 해서 instruments앱 실행하기!!
https://github.com/cmyr/cargo-instruments
실행 화면위 내용 동영상으로 정리함
반응형'코딩Coding > Rust_Debugger_heap_memory_check' 카테고리의 다른 글
Blog Post: Measuring Memory Usage in Rust (0) 2022.04.24 Rust)A Mir Formality Walkthrough #1-Rust (0) 2022.04.21 rust debug(cargo-binutils)-utilizes LLVM's gcov-compatible profile (0) 2022.04.17 Rust) HIR(High-Level Intermediate Representation), AST(abstract syntax tree) (0) 2022.04.13 RUST_BACKTRACE=1 MIRIFLAGS="-Zmiri-disable-isolation" cargo miri test (0) 2022.04.04 How to diagnose and debug embedded software program crashes using TI’s ROV debugger (0) 2022.04.02 RUST_BACKTRACE=full COLORBT_SHOW_HIDDEN=1 cargo nextest run (0) 2022.03.24 Stack memory with move semantics (0) 2022.03.06