visual-studio - 使用 MbUnit/Gallio 3.1 进行调试

标签 visual-studio debugging visual-studio-2010 mbunit gallio

当我在 Gallio 中使用 [Debug] 按钮时,我的单元测试中的断点没有命中。单元测试是用 MbUnit/Gallio 编写的。我在 Visual Studio 2010 Beta 2 中使用 MbUnit/Gallio 版本 3.1 build 397。单元测试在 Gallio Icarus 中运行到完成,但它们运行通过了断点。我看到符号表在 VS 中加载,但它没有在预期的断点处停止,所以我无法调试它。

最佳答案

在 Gallio Icarus 中选择菜单 Tools -> Options,选择页面“Preferences”,将“Test Runner Factory”设置为 隔离应用域 本地 让调试器工作。

关于visual-studio - 使用 MbUnit/Gallio 3.1 进行调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2619181/

相关文章:

c# - 用于自动为异常生成相关捕获 block 的 Visual Studio 功能?

c - 带返回终止符的 void 函数

c - 如何知道链接到二进制可执行文件的调试符号文件的名称和/或路径?

asp.net-mvc - VS 2010 开发工具包。模板

c# - 在 ASP 网页中分页?

c# - Visual Studio 2008 中的更改不是 'taking'

c++ - Visual C++,Windows 更新接口(interface) (IUpdate) <wuapi.h>,get_MsrcSeverity

c++ - 结合 if constexpr() 与非 const 条件

c++ - _CrtSetAllocHook 从不显示文件名/行号

visual-studio-2010 - 在Visual Studio 2010中同时将多个项目添加到一个解决方案中