Debugging a release version of a DLL (with PDB file)

后端 未结 4 1767
余生分开走
余生分开走 2020-12-24 07:21

If I have a DLL (that was built in release-mode) and the corresponding PDB file, is it possible to debug (step-into) classes/methods contained in that DLL?

If so, wh

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 07:49

    The pdb is usually (for me at least) detected if it is next to the dll (like with the intellisense xml files).

    Alternatively; you'll need a break point after the module has loaded...

    At the break-point, bring up the "Modules" window (Ctrl+D,M - or Debug->Windows->Modules). Right click on your dll "Load symbols from", "Symbol path", etc.

提交回复
热议问题