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

Notification

Icon
Error

Code Coverage indicators missing
DanHil
#1 Posted : Thursday, July 18, 2013 6:17:16 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
The code coverage indicators are missing in some files in VS 2013 Preview 1: http://screencast.com/t/L2QAj6Fq7Zh

Any idea what could be the issue?

Update:
After closing all files in VS it started working again.
However, when closing VS and re-opening it, it seems as if the files that are automatically being opened are again missing the coverage indicators.
Does that help?
Remco
#2 Posted : Friday, July 19, 2013 12:13:21 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks for picking up on this. From your description, I've been able to reproduce this fairly quickly.

It looks as though MS have changed the initialisation sequence around the editor windows - probably to add support for the new dynamic inline tags. This is causing NCrunch to miss the editor window during initialisation. My tests showed some inconsistent behaviour around this (i.e. not all windows were affected).

The quickest work around to this appears to be to just close and reopen the affected window. This triggers NCrunch to reinitialise and the markers appear. This should be faster than needing to restart the whole of Visual Studio (and/or NCrunch).

A fix is being prepared for this issue.
DanHil
#3 Posted : Friday, July 19, 2013 6:04:43 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
Thanks :-)
Yes, in fact, restarting VS does *not* help. Only closing an re-opening the files seems to work.
Remco
#4 Posted : Wednesday, July 31, 2013 8:39:38 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
For anyone experiencing this problem, a new build has just been put up on the download page (1.46.0.21) including a resolution to this issue.
1 user thanked Remco for this useful post.
Mark on 7/31/2013(UTC)
bencassie
#5 Posted : Sunday, August 4, 2013 2:24:31 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/4/2013(UTC)
Posts: 2
Location: United Kingdom

Im still having this problem with the new version. oh I'm using windows 8.1 preview if that helps
Remco
#6 Posted : Sunday, August 4, 2013 10:49:46 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi,

Thanks for sharing this. Is the solution you are working in located on a UNC path of mapped network drive perhaps? Also, is there any chance you could submit a bug report after you've had this happen to you?
bencassie
#7 Posted : Wednesday, August 7, 2013 9:05:06 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/4/2013(UTC)
Posts: 2
Location: United Kingdom

Hi, no the solution is local hard disk. I will submit a bug report later today.
Remco
#8 Posted : Wednesday, August 7, 2013 9:19:34 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks. I'll take a look as soon as the report comes through.
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.054 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download