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

Notification

Icon
Error

No coverage indicators in latest release?
macdonag
#1 Posted : Monday, January 14, 2013 9:24:09 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/14/2013(UTC)
Posts: 2

Hi

I just upgraded to the latest version of NCrunch !1.44) and now my coverage line indicators are missing. I'm using VS2012. This worked on Friday! My project is building and is instrumented, according to the NCrunch project settings.

Uninstalling and reverting to 1.43 fixes the problem.
Remco
#2 Posted : Monday, January 14, 2013 10:21:58 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)
Hi, thanks for posting!

I received a bug report detailing the same issue. Was this report from you?

The problem is caused by an adornment layer bug in Visual Studio that sometimes surfaces while upgrading NCrunch. Essentially, it's an installation/setup problem. Uninstalling v1.43 and upgrading to 1.44 again should hopefully solve the problem - otherwise, have a read of the installation troubleshooting steps described in the documentation.


Cheers,

Remco
jpsowers
#4 Posted : Monday, January 14, 2013 6:50:44 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/14/2013(UTC)
Posts: 1
Location: United States of America

We are having this same issue at my office. Two of us use NCrunch and we cannot get the line indicators in 1.4.4 to work. We tried the installation troubleshooting steps, uninstall, delete folder, run the devenv.exe /setup and re-install but it did not remedy the issue. Our hearts are heavy with sorrow and our eyes drooping for lack of little green circles.
Remco
#5 Posted : Monday, January 14, 2013 10:23:23 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,

I've identified the cause of this issue. It seems that the 1.44 had an installer issue that was preventing the package from being fully loaded, which prevented the adornments from being shown. The symptom of the problem is identical to an setup issue that affects roughly 0.1% of all installs (which can usually be corrected by reinstall), which caused some big confusion on my side. I'm very sorry for the trouble caused by this.

v1.44 on the download page has been updated to a later revision that includes a fix for the installer issue. If you redownload and reinstall 1.44, the issue should be resolved.


Cheers,

Remco
1 user thanked Remco for this useful post.
mking on 1/15/2013(UTC)
macdonag
#3 Posted : Tuesday, January 15, 2013 7:09:38 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/14/2013(UTC)
Posts: 2

Remco;3522 wrote:
Hi, thanks for posting!

I received a bug report detailing the same issue. Was this report from you?

The problem is caused by an adornment layer bug in Visual Studio that sometimes surfaces while upgrading NCrunch. Essentially, it's an installation/setup problem. Uninstalling v1.43 and upgrading to 1.44 again should hopefully solve the problem - otherwise, have a read of the installation troubleshooting steps described in the documentation.


Cheers,

Remco


It wasn't me - I just posted on the forum. Glad to hear it's being fixed.

Graham
Boris
#6 Posted : Wednesday, January 16, 2013 3:21:49 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/16/2013(UTC)
Posts: 1
Location: Australia

Was thanked: 1 time(s) in 1 post(s)
The update worked for me.
1 user thanked Boris for this useful post.
Remco on 1/16/2013(UTC)
Xophias
#7 Posted : Thursday, January 24, 2013 3:31:23 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2013(UTC)
Posts: 3
Location: Australia

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Having tried everything listed here, still no code coverage markers.
Remco
#8 Posted : Thursday, January 24, 2013 7:07:44 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)
Hi Xophias,

Can you let me know exactly which version of NCrunch you're running? (i.e. check under NCrunch->About).

If you can submit a bug report, I can then check this to see if you are experiencing a different issue with the same symptom.


Cheers,

Remco
Xophias
#9 Posted : Friday, January 25, 2013 4:49:51 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2013(UTC)
Posts: 3
Location: Australia

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
1.44.0.11. As you say, I'll submit a bug report.
Remco
#10 Posted : Friday, January 25, 2013 10:19:55 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 Xophias,

I haven't managed to catch your bug report yet, but meanwhile, I'm wondering if you might be able to try the following:

1. Uninstall NCrunch entirely from your system (all versions for all versions of Visual Studio)
2. Ensure that the directory '\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Remco Software' and all its contents are completely deleted.
3. Run the following command: \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup
4. Wait for devenv.exe to finish its work (kill it after 15 minutes if it doesn't stop)
5. Reboot your computer
6. Load up Visual Studio 2010 and open any solution
7. Close down Visual Studio
8. Install the latest version of NCrunch
9. Run the following command again: \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe /setup
10. Wait for devenv.exe to finish its work (kill it after 15 minutes if it doesn't stop)

... Then load up VS2010 again to see if the problem is fixed.

Previously where this issue has surfaced, it's been a Visual Studio configuration problem where the IDE somehow confuses the adornment layers between extensions. Performing a completely clean reinstall of NCrunch should reset the adornment layers and will usually solve the problem. I'm keen to hear if this does the trick!

Cheers,

Remco
1 user thanked Remco for this useful post.
Xophias on 1/28/2013(UTC)
Xophias
#11 Posted : Monday, January 28, 2013 11:43:06 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/24/2013(UTC)
Posts: 3
Location: Australia

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Okay, that fixed it. Thanks :)
1 user thanked Xophias for this useful post.
Remco on 1/29/2013(UTC)
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.067 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download