Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Debug: Breakpoints - The source code is different from the original version
britishberet
#1 Posted : Thursday, September 30, 2021 7:32:06 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 9/30/2021(UTC)
Posts: 1
Location: United Kingdom

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
Remco
#2 Posted : Thursday, September 30, 2021 9:33:55 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.030 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download