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

Notification

Icon
Error

2 Pages<12
NCrunch 4 - Optimized mode - Debugging tests is mission impossible?
Remco
#23 Posted : Friday, November 29, 2019 10:56:19 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,869

Thanks: 763 times
Was thanked: 980 time(s) in 933 post(s)
Thanks everyone. I now have a sample to reproduce the async inspection issue until .NET Core. I'll post a build here as soon as a fix is available.
Advisto
#19 Posted : Friday, December 6, 2019 3:55:03 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/15/2018(UTC)
Posts: 7
Location: Netherlands

Remco;14153 wrote:
Thanks for sharing this problem.

Do you have a way to run this code without NCrunch, and if so, can you confirm 100% whether the behaviour is different under NCrunch?

I've tried constructing a code sample using the lines you've shared, but I can't seem to get this to fail in the same way ... is there any chance you can reproduce this in a code sample you can share with me?

Any news on this topic Remco?
Remco
#20 Posted : Friday, December 6, 2019 11:17:51 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 5,869

Thanks: 763 times
Was thanked: 980 time(s) in 933 post(s)
Advisto;14195 wrote:

Any news on this topic Remco?


Sorry, no fix is available yet for the async local variables issue.

We're working on it. This is in quite a complex area of the product, and right now we're also very busy with .NET Core 3.0 issues, which are a higher priority as they don't have a workaround.

If this issue is causing problems for you, it's possible to work around it by just switching back to the Legacy instrumentation mode. You can also force the compiler to build a non-portable PDB (which will also work around the issue), by adding a 'Custom build property' of 'DebugType' to 'full' in your NCrunch configuration.
Users browsing this topic
Guest
2 Pages<12
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.028 seconds.