VS 2010 debugger not loading symbols when attaching to NUnit

前端 未结 2 589
北荒
北荒 2021-01-07 23:29

(I just posted this in the NUnit discussion group on groups.google.com)

Under VS 2008, I would run my tests under NUnit, and, if I needed to debug, I would attach th

相关标签:
2条回答
  • 2021-01-08 00:06

    There's information on this blog post about how to tell NUnit to use the correct .Net framework in the nunit.exe configuration file.

    The benefit to fixing this in the configuration file is that it allows you to set up your unit test project so that you can launch NUnit as an external command when you select Debug -> Start New Instance.

    0 讨论(0)
  • 2021-01-08 00:23

    I'm not sure I understand exactly why, but the answer is to attach the debugger to nunit-agent.exe instead of nunit.exe. See Charlie Poole's response here

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