Setup Problems

View files crash with NCrunch installed

Started by Steve5877 on 7,621 views

I'm using VS 2013 with Windows 7. When I have NCrunch installed, my cshtml view files are constantly crashing in the editor. I uninstalled NCrunch and the problem cleared up. I'd really like to be able to use NCrunch. Is this a known problem? Is there a resolution?
Hi Steve,

Thanks for sharing this problem. I haven't heard of this one before. What is the nature of the crash? Is it taking out the VS process? Do you get any kind of error information?

If you turn on the 'Log to output window' global NCrunch configuration option, do you see any exceptions appearing in the NCrunch VS output window?

What is the crash pattern? Does it happen seemingly at random or is there something you can do to consistently bring it out?
It stopped when I uninstalled NCrunch. When I can, I'll reinstall and see if it returns. If it returns, I'll try to answer your questions.

Basically, when I opened a cshtml file, the file would open but there would be no syntax highlighting. I could CAREFULLY click in the file and maybe change a word or two, but it was very unstable. If I used a mouse and selected a block of text or did too much jumping around in the text, Visual Studio would crash.

Details of the crash:

Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 12.0.21005.1
Problem Signature 03: 524fcb34
Problem Signature 04: Microsoft.VisualStudio.Html.Package
Problem Signature 05: 12.0.40918.0
Problem Signature 06: 523a30e4
Problem Signature 07: d0
Problem Signature 08: 0
Problem Signature 09: System.NullReferenceException
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Thanks for sharing this. If you manage to reproduce it again, see if you can attach a debugger onto the process when it crashes. I'm curious about what the stack trace may give us.

NCrunch has no special integration whatsoever with the editor around cshtml files, nor does it manipulate the editor window itself (outside of adding the coverage marker bar). I state this because I feel it's likely that there may be more to this problem than would seem. Do you use any other packages or plugins that might interfere with normal behaviour of the IDE under these circumstances?

Post a reply

Log in to reply.