Automatically "Attach to Running Process" in Visual Studio 2012/2013 [duplicate] - visual-studio

This question already has an answer here:
Automate "Attach to Process" in Visual Studio 2012 [duplicate]
(1 answer)
Closed 6 years ago.
I have to debug in Visual Studio 2013 a site hosted on local IIS.
For that purpose I sistematically use the "Debug -> Attach to Process -> w3wp.exe".
I saw some macros solutions, like this one, that should work for the Visual Studio versions prior to VS 2012...
Is there a way to do something on that point in the recent versions of VS?

Two plugins that do this:
Debug Attach Manager
Find it here: VS2012 and VS2013
Indeed after initial selection of workers it's a simple Ctrl+Shift+Alt+F5 to re-attach the same.
The plugin handily shows the title of websites with the workers.
VSCommands
Find it here: VS2012 and VS2013
This is a larger plugin, which is quite popular, and has similar features but arguably more beautiful UI:

In VS 2013, Go to Tools-> Attach to procress-> select iisexpress.exe

Related

Visual Studio 2022 Missing Many View | Other Windows

I just installed Visual Studio 2022 Community Edition. It is missing many items and is not really usable.
For example, under View | Other Windows, there are just three items:
Stack Trace Explorer
Package Manager Console
IntelliSense
There should be many more. In particular I installed the Python Development workload, and I later installed the VS History 2022 extension. (Both show in the installer.) The Python Environments window and the Visual Studio File Histories window should be there, but they aren't. Alt-I should bring up the Python Environments. It just dings.
I have checked the installer. Python development is checked. Python is, in fact, installed. It is at:
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Python
There is no Git on the toolbar.
Under Tools | Options there is nothing for Git, Python, or VS History Files as there is for Visual Studio 2019.
In addition there is no External Tools option under the Tools menu as there is for Visual Studio 2019.
In the lower right where it should show the Commit button (for a solution which has a Git repository) there is "Add to Source Control" (which does nothing).
I have Googled and found no one else with these problems. There are plenty of articles, such as how to use the Python Interactive window and Tools | External Tools explicitly mentioning Visual Studio 2022. So it must something I have not done, but I cannot find it nor determined how to fix it.
I have restarted the computer several times. It has not fixed it.
I have been using Visual Studio since at least Visual Studio 2008 and am an experienced user. I have never had these kinds of problems installing the next version. I am able to work on a Windows Forms project, at least to build and run it (but not to commit the changes). I do not seem to be able to do anything else.
Any help would be appreciated.

Visual Studio 2015 update 3 crashing after "Getting DataTip text..."

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.

Can't see the add-in option of F# in the Visual Studio 2010 integrated Shell

I installed the F# InstallFSharp.msi, and then the visual studio 2010 shell.
Then, if I understood correctly there should be an add-in available in tools->add-in manager.
There wasn't. So I "Repaired" the InstallFSharp.msi to see if the order of install as important.
Nothing.
Then I uninstalled InstallFSharp.msi and reinstalled it.
Nothing.
Question: how do I install VS studio shell with F#?
Regards,
P. Fonseca
I think that was true of a previous version of the tools, but now F# integration doesn't show up as an addin. Instead, you should find F# Interactive under View/Other Windows, and when you go to File/New/File.../Script or File/New Project... you should see F# options.

What are your top Visual Studio 2010 extensions? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
Best VS2010 Extensions
Visual Studio 2010 - recommended extensions
I've just discovered JSEnhancements for Visual Studio 2010 and it's left me wondering what other "indispensable" extensions and add-ins there are that I might benefit from.
What are your key productivity extensions for Visual Studio 2010?
JetBrains Resharper. It's not free, but it's surely the best around.
Edit: I also like TestDriven.NET. And it's usually free.

Will Visual Studio 2010 Beta 1 interfere with my Visual Studio 2008 install? [duplicate]

This question already has answers here:
Closed 13 years ago.
Possible Duplicate:
Will installing Visual Studio 2010 Beta side by side with VS2008 cause problems?
I would like to play around with the beta and the new entity framework if possible.
Will VS2010 mess around with my Visual Studio 2008 install?
I still need VS08 for work.
CV
I had them working side by side without any problems (until I upgraded by disk - still have a lot of installs to do). However, I can't say that I have done a thorough test.
I haven't done any extensive testing, but on my box at home I was running both at the same time with no apparent problems.

Resources