When I run my code in debug mode and have my diagnostic tools window open, my event panes are blank (both the timeline and the events call stack window). How can I fix this?
I am using Visual Studio 2015 Enterprise, Update 3. Interestingly the event panes works on my older PC using another Visual Studio 2015 Enterprise installation, only its on update 2, not 3. Maybe update 3 has a bug?
A Co-Worker and I were experiencing this same issue.
It ended up being that the IntelliTrace had been disabled on the machine that didn't show any Event information.
Tools -> Options -> IntelliTrace -> General
Related
So I have had visual studio 2019 and I used it with unity. I needed to delite it and reinstall it becouse of somthing and when I reinstalld it I installed new 2022 version. Ever since auto complete isn't working.
I have downloaded the "Game development with Unity" modifyer and selected Visual Studio Community 2022 in unity preferences but it still isn't working.
Does anyone have an idea what is wrong maby?
In the Unity Editor, select the Edit > Preferences menu. On the left, select the External Tools tab.
Select Browse... from the dropdown list.
Navigate to the C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE directory and select devenv.exe. Then select Open.
Close the Preferences dialog to complete the configuration process.
And make sure that you have Microsoft Visual Studio installed in package manager:
check this link: https://learn.microsoft.com/en-us/visualstudio/gamedev/unity/get-started/getting-started-with-visual-studio-tools-for-unity?pivots=windows
there are 2 fixes that I think will help you:
You need to enable IntelliSense by opening Tools -> Options -> Search for Intellisense, and head over to the C# Section and enable features like Show completion list after a character is typed.
For good practice, you should also install the C# packages for Visual Studio 2022.
When debugging a C# application in Visual Studio 2015, I am very often getting this message when hovering the mouse over a variable:
After this it freezes and restart, making it impossible to debug.
Anyone have any clue?
Like that thread shared by duDE, please disable the option "Enable property Evaluation and other implicit function calls" under Tools->Options->Debugging->General.
It seems that checking this option:
Tools -> Options -> Debugging -> General: "Use Managed Compatibility Mode".
avoids Visual Studio 2015 from crashing but disables Edit and Continue... which is no good.
So, I am still looking for a better answer.
Sources:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/8653d0d1-c7ed-4194-8fdc-f183d4ff4ec2/problems-with-debugging-in-vs-2015-when-execution-is-in-a-thread?forum=vsdebug
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f3e0c708-0cb4-4e15-9f80-8e713870ebcd/debugging-cant-hover-over-variables-to-see-their-values?forum=visualstudiogeneral
Datatips (mouse hover over variables in debug mode) not working in Visual Studio 2012 / Win 7 64bit
Visual Studio 2015 Debugging: Can't expand local variables?
https://blogs.msdn.microsoft.com/visualstudioalm/2013/10/16/switching-to-managed-compatibility-mode-in-visual-studio-2013/
Quoting the last one:
In Visual Studio 2012, we introduced a new managed debug engine that provides us the ability to more rapidly add new features compared to the older implementation. This can be seen by the number of features introduced in Visual Studio 2013 after only a single year including Managed Return Values, .NET 64-bit Edit and Continue, Async Callstacks Enhancements, and Improved Tasks Window to name a few. Unfortunately, there are still a couple scenarios that are not supported yet with the new debug engine, so in these cases you will have to switch back to the legacy engine.
...so it seems that this is not new.
This issue should be fixed in Visual Studio "15" Preview 5 (available here. For Visual Studio 2015 Update 3 there are, unfortunately, no known workarounds other than those already mentioned.
My Visual Studio 2015 RTM crashes when opening some solutions consistently.
In the Event Log Viewer it shows application "Fault Module KernelBase.DLL"
I have tried resetting settings as mentioned on this post.
What can I do to fix this problem?
I fixed this problem by doing a ResetUserData and Repair from Program and Features in Control Panel.
Do a .\devenv /ResetUserData (It will reset everything including customizations and all)
Goto Control Panel > Program and Features and repair Visual Studio 2015.
Restart your computer.
I updated to Visual Studio 2015 Update 1 RC since I want to be on-the-edge with the XAML Designer.
When I stop debugging or an exception occurs in a Windows Phone 8.1 App, I crash every time and my only solution is to restart visual studio..
My solution: For now I rollback-ed to Visual Studio 2015.
Anyone knows why?
I've figured that this crash happens when the solution contains a WPF project (which doesn't needs to be the start project or to be started at all) and the XAML UI debuggintools are enabled.
Going to tools -> options -> debugging and unchecking xaml ui debuggingtools stopped the crashes for me.
https://lh6.googleusercontent.com/-BGO1Og_OSvU/VA6k-OwLF3I/AAAAAAAANjA/oJzDRdLFI6w/s1600/www.Aloxovn.com-control.png
I'm using Visual Studio 2013 Ultimate Update 3.
But, it doesn't show all Debug features windows. Example: Debug\Windows\Locals or Disassembly tab.
Can you tell me how to show it?
See the View Menu. View -> Output Window