I've been using NCrunch successfully for a few weeks, then my indicators vanished. I uninstalled, searched for and deleted all related files, and reinstalled, but still no indicators. What gives?!
Cheers
Remco NCrunch Developer
#632
01 Dec 2011 21:56 UTC
Hi Jon, thanks for posting.
Do you see any errors or unusual activity in the processing queue window? It may be that you have an error something happening that is preventing NCrunch from building your project. You can also try turning on the logging of text to an output window (in your global configuration), then check in the NCrunch debug output window to see if there's any errors appearing there.
Do you see any errors or unusual activity in the processing queue window? It may be that you have an error something happening that is preventing NCrunch from building your project. You can also try turning on the logging of text to an output window (in your global configuration), then check in the NCrunch debug output window to see if there's any errors appearing there.
[22:03:14.5917-UI-1] ERROR (Internal): System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.VSAddIn.UI.Model.EditorDocument.DocumentChanged(Boolean mappingInformationAvailable)
at nCrunch.VSAddIn.UI.EditorWindow.OnChangeLineText(TextLineChange[] pTextLineChange, Int32 fLast)
Does that help?
at nCrunch.VSAddIn.UI.Model.EditorDocument.DocumentChanged(Boolean mappingInformationAvailable)
at nCrunch.VSAddIn.UI.EditorWindow.OnChangeLineText(TextLineChange[] pTextLineChange, Int32 fLast)
Does that help?
Remco NCrunch Developer
#635
01 Dec 2011 22:47 UTC
That does help enormously. Would you mind submitting a bug report? This looks like an issue with the engine. Most likely this is being caused by a specific document that you have open in your IDE - does closing all documents and restarting your IDE temporarily remove the problem?
No, have tried restarting many times but no change
Remco NCrunch Developer
#640
02 Dec 2011 09:00 UTC
Thanks - did you have any luck sending a bug report? This can help me to figure out why it's failing.
Remco NCrunch Developer
#660
04 Dec 2011 22:37 UTC
I received the bug report and had a look at the trace. It looks as though this is being caused by some kind of plug-in clash.
Are you able to let me know which other plugins you have installed in VS2010?
Are you able to let me know which other plugins you have installed in VS2010?
Resharper and git extensions
Remco NCrunch Developer
#663
05 Dec 2011 00:17 UTC
Were either of these plugins installed around the same time that NCrunch stopped working? Or have there been any other changes to your Visual Studio installation (i.e. service pack install) that happened about this time?
Git extensions, though I did try removing it thinking that it might be the problem but no change
Remco NCrunch Developer
#666
05 Dec 2011 08:23 UTC
Ok - essentially the issue is being caused by a VS service that is failing to properly add the adornment layer that NCrunch uses for placing the coverage markers onscreen. I've tried somewhat to reproduce this issue in my development environment but have had no luck with this. The issue itself has also been reported for other VS plugins that use adornment layers and so far no one seems to have managed to discover the actual cause. I suspect that somehow the state of your VS installation (whether through plugins or abnormal system activity) may have been corrupted.
The best suggestion I can give at this stage would be to try reinstalling Visual Studio and reloading your plugins one at a time (starting with NCrunch) to see if this either solves the problem or narrows it down. Sorry, I wish I could offer a less expensive problem solving approach but an elusive issue such as this one doesn't give us many options.
The best suggestion I can give at this stage would be to try reinstalling Visual Studio and reloading your plugins one at a time (starting with NCrunch) to see if this either solves the problem or narrows it down. Sorry, I wish I could offer a less expensive problem solving approach but an elusive issue such as this one doesn't give us many options.
Post a reply
Log in to reply.