Hey,
Currently trialing NCrunch and I'm having a problem where quite often debugging a test via NCrunch gives me this error on the breakpoints. Restarting VS will usually solve it temporarily, but this isn't a good solution!
Using the VS built in test runner to debug a test works perfectly, it's just NCrunch, it's very annoying to have to switch back to that when I should be able to use NCrunch.
Otherwise love the extension
Any advice?
Thanks
Build/Test Issues
Debug: Breakpoints - The source code is different from the original version
Started by britishberet on 1,746 views
Remco NCrunch Developer
#15674
30 Sep 2021 21:33 UTC
Hi, thanks for posting!
I'm not sure why this is happening in your setup, but the easiest solution to this is probably to just shut off the error.
Go to your VS Options, under Debugging you'll find an option 1/3 of the way down the big list of checkboxes called 'Require source files to exactly match the original version'. Uncheck this box and hopefully all should be well.
I'm not sure why this is happening in your setup, but the easiest solution to this is probably to just shut off the error.
Go to your VS Options, under Debugging you'll find an option 1/3 of the way down the big list of checkboxes called 'Require source files to exactly match the original version'. Uncheck this box and hopefully all should be well.
Post a reply
Log in to reply.