Prevent Visual Studio from trying to load symbols for a particular DLL

前端 未结 8 1445
感动是毒
感动是毒 2020-12-23 16:10

I have Visual Studio 2005 set up to use Microsoft\'s symbol servers. I also have UltraMon installed, which injects a hook DLL into every process. Whenever I start debugging

8条回答
  •  醉酒成梦
    2020-12-23 16:35

    In my case it was because I had set "Enable .Net Source Stepping" to true in

    Tools > Options > Debugging > General. 
    

    Rather than setting it to false, I set "Enable Just My Code" to true which automatically set "Enable .Net Source Stepping" to false. It gave me a warning before doing so:

    Enabling Just my code automatically disabled .Net framework source stepping
    

    Which suggests Just My Code and .Net source stepping are mutually exclusive.

    I hope this helps someone.

提交回复
热议问题