Daily Usage Issues

Code Coverage indicators missing

Started by DanHil on 12,345 views

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?

Edited

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.
Thanks :-)
Yes, in fact, restarting VS does *not* help. Only closing an re-opening the files seems to work.
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.
Im still having this problem with the new version. oh I'm using windows 8.1 preview if that helps

Edited

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?
Hi, no the solution is local hard disk. I will submit a bug report later today.
Thanks. I'll take a look as soon as the report comes through.

Post a reply

Log in to reply.