How can I inspect variable values while debugging MSVC ABI Rust programs?

前端 未结 1 628
鱼传尺愫
鱼传尺愫 2021-01-11 16:39

I\'ve downloaded the MSVC ABI version of Rust 1.7.0 and followed the guessing game section from the docs.

I notice that the builds use the native toolchain (Visual S

相关标签:
1条回答
  • 2021-01-11 17:26

    Features don't exist until they're implemented. Rust is built upon LLVM and full PDB support has only recently been considered for LLVM. For now LLVM has only a limited PDB support, with the limitations best described on the Clang project's MSVC compatibility page. In my opinion, it's best to wait until the support is there, although for other programming languages interesting workarounds have been implemented.

    0 讨论(0)
提交回复
热议问题