-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Support place breakpoint from specflow file #2
Comments
It is really a basic feature, needed often. If you have a step which is called multiple times with different parameters from the same feature file, then you cannot really put a breakpoint in the step itself (in C#), because it will be called from multiple places of the feature file. |
A first version is available here, but I need to figure out why the lines highlighted during debug are bigger than the steps https://github.com/SpecFlowOSS/SpecFlow.Rider/tree/breakpoint-featurefile |
Included in version 1.4.0 |
Yes, a breakpoint can now be placed and the debugger will stop there. BUT the next logical step for the developer is to step-into the line (F11). This does not work properly. It either goes to the auxiliary classes (not interesting to anybody, like StepRunner), or if the Setting is "Enable External Code Debug" is off, it does not go into at all, i.e. goes to the next line on the feature file (as if I pressed F10). It should go directly to the bound method in .cs file with steps implementation. Actually, this was requested in the original comment by Socolin: |
Thanks, Socolin for suggested workaround. I will try and see if it is good enough. |
Place a breakpoint should allow to during scenario
Step into should go to the step declaration
Step over should go to the next step
The text was updated successfully, but these errors were encountered: