3

I'm writing a test case using SpecFlow in C#. When I set appropriate breakpoints and run the test cases using debugger, all the breakpoints are not hit. When I hover over them, a tip displaying "The breakpoint will not be hit. No symbols have been loaded for the document" is shown. Now, how do I debug the testcases that I have written?

PS: I'm using VS2015

Prasann
  • 460
  • 1
  • 5
  • 13

2 Answers2

5

I solved my problem by going to Debug->Options and disabled "Just my Code" option. Then I navigated to symbols and checked "Microsoft Symbol Servers"

Prasann
  • 460
  • 1
  • 5
  • 13
0

Try to build the complete specflow project with specflow definition file as well.Hope it should solve the problem.