Why are no Symbols loaded when remote debugging?

后端 未结 14 666
星月不相逢
星月不相逢 2020-12-08 00:33

I want to use remote debugging. The program that I want to debug runs on machine b. Visual Studio runs on machine a.

On machine b I have a folder with the following

14条回答
  •  有刺的猬
    2020-12-08 00:54

    1. Add a shared folder on your dev machine that points to the location of the .pdb files
    2. Set up an environment variable called _NT_SYMBOL_PATH on the remote machine that points to the shared folder on your dev machine

    The remote debugger will now search your dev machine for symbols. No need to copy them over for every build.

    See MS Video here.

    Start watching 8-9 minutes in. He demonstrates how to setup the remote debugger to load symbols from a drive share on your development machine.

    Good luck!

提交回复
热议问题