Rank: Newbie
Groups: Registered
Joined: 10/18/2018(UTC) Posts: 2 Location: South Africa
|
If I debug the test using NCrunch I get this dialog:
Dialog Title: Microsoft Visual Studio Dialog Text: "The condition for a breakpoint failed to execute. The condition was 'projectionYear.Year==2062'. The error returned was 'The debugger is unable to evaluate this expression'."
If I debug via Resharper's test runner the breakpoint is hit as expected with no errors.
Any ideas?
Thanks Mark.
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 6,974
Thanks: 929 times Was thanked: 1256 time(s) in 1169 post(s)
|
Hi, thanks for sharing this problem.
NCrunch's instrumentation rebuilds the PDBs, and sometimes this can do odd things with the debugger.
Can you confirm if you're able to access the 'projectionYear.Year' value using the immediate window in your debugger when you're stopped in the context of this line of code?
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 10/18/2018(UTC) Posts: 2 Location: South Africa
|
Thanks for the help.
Yes I can access 'projectionYear.Year' in the immediate window.
I deleted NCrunch temp files in C:\Users\Mark\AppData\Local\NCrunch and deleted all obj and bin folders from solution. Also restarted the PC.
Any ideas to try?
If not I can live with it as I can still debug, just not via NCrunch.
|
|
|
|
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.NETThis page was generated in 0.035 seconds.