English 中文(简体)
光谱中未加点
原标题:Breakpoints not hit in specflow

I m 在C#中用SpecFlow撰写试验案。 当我确定适当的破碎点并使用挖泥机处理测试案件时,所有破碎点都没有被击中。 当我接手时,展示“打破点不会被击中”。 该文件没有编号。” 现在,我是如何去掉我所写的试卷?

PS: I m

最佳回答

我解决了我的问题,选择了Debug->Options and Disability “Just my Code” 。 然后,我打上了“Microsoft 服务器”的编号和检查。

问题回答

尝试用光谱定义文档建立完整的光谱项目。 希望解决该问题。

This happened to me with VS 2022, so I hope this helps someone. Spent the last 5 hours trying to figure this out and could not believe how obscure the solution was for me (and simple).

我面临的问题是,在第一次辩论期间,我打上了勾销,当时VS试图自动装上所有标志。

为使VS重新装载所有标志,我需要确保最高小组的如下内容:

  • "Debug" was selected
  • "Any CPU" was selected
  • My project was selected (this was important!)

In Debug > Options > Debugging > General

  • Enable Just My Code - Un-ticked

In Debug > Options > Debugging >

  • Microsoft Symbol Server - Ticked
  • Load all modules, unless excluded - selected

之后,我敦促F5重新开始行乞(或你可以打上SOLID GREEN在纽顿的游戏)。

当我这样做时,所有标志都开始重新装满,我确信,我可以让它装载。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签