-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio crashes when I quit debugging #70
Comments
Since VS crashed, there should be an entry in the Windows event viewer. Mind providing the relevant info? |
Any update on this, or are you still blocked? |
Sorry for the late reply. I've just been using a different (inferior) editor to unblock me. Here's the error that pops up when I get the null reference exception: Problem signature: There are two events in event viewer. First event:
Second event:
I don't know if it's relevant, but I installed VS to a secondary drive since my primary is a small SSD and rapidly running out space. I know it shouldn't make a difference, but that doesn't mean it doesn't. Also, the repro steps I posted above didn't repro this time. However, it did crash shortly after creating the project. |
Thx for reporting this. Try deleting your .ntvs_analysis.dat file (renaming is better so we can use it to debug) and re-opening the project to work around the issue for now. Other folks have had good luck with creating a new project from existing, but hopefully you won't have to do that. |
Call stack:
In the current code, DDG.Analyze() does not directly call AnalysisUnit.AnalyzeWorker(): /~https://github.com/Microsoft/nodejstools/blob/35817ffdaa1797f95628a22f588fc3ed885f884b/Nodejs/Product/Analysis/Analysis/Analyzer/DDG.cs#L37. Does this mean user is using an older version of NTVS? |
@hoanhtien This is more likely a difference between Debug and Release mode. In Release mode, the compiler performs some extra optimizations that it doesn't perform in Debug mode. In this case, it looks like there was some inlining which caused a missing entry in the stack trace. |
- Fix potential NullReferenceExceptions
- Fix potential NullReferenceExceptions
#70 Visual Studio crashes when I quit debugging
This fix is now available in our latest dev build - mind verifying it works on your end? |
I'm running Visual Studio 2013 Community. I've previously had VS Express 2012 and 2013 (various versions) and tried out VS 2015 Preview and CTP 6 when VS started crashing on me.
Since then I uninstalled all versions of VS, though
\Program Files (x86)\Microsoft Visual Studio X.0\
directories exist for 10, 11, 12, and 14 still. I then installed VS Community 2013 "fresh" (as fresh as it can be with those lingering files).I installed NTVS for VS 2013 (after uninstalling it, and then removing
\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Node.js Tools*
manually, since uninstalling did not do it). Now I can repro this crashing every time with the following steps (before it may have been intermittent?):Open VS, create a new "Basic Node.js Express 4 Application" project, press F5. The browser pops up with the expected text. Close the Browser. Stop debugging. VS crashes.
It's quite frustrating. Until a couple days ago (when I started messing with the Babel package, attempting to get ECMAScript 6 features to work), everything was working great.
Let me know what more information you need.
Thanks!
The text was updated successfully, but these errors were encountered: