How to synchronize breakpoints between 2 visual studios? - visual-studio-2010

I am buildling a network application, so I can run 2 instances of my application. To debug it I attach one visual studio (2010) to each instance. I would like to sync my breakpoints so when I add one it is added on both VS. Is it possible ?

In Visual studio 2017 it is possible to export your list of breakpoints by clicking on "Export all breakpoints matching the current search criteria".
visual studio export breakpoints

Related

Instances of Visual Studio with different settings

I want to run two instances of Visual studio having different settings, one having bigger fonts.
How do I do that?
When I run the second instance of vs with
devenv.exe /ResetSettings other.vssettings
that settings affects all running instances of Visual Studio (they seem to poll for changed settings).
You can start Visual Studio with a different "Root Suffix" this will read all the settings from a different registry tree and folder from disk:
devenv.exe /RootSuffix OtherInstanceName
This will give you a new "vanilla" configured Visual Studio instance. Any extensions need to be installed into that instance as well. To install Resharper, use the following steps:
To install to an experimental instance, run the ReSharper unified installer, select the Options button, and enter the name of the instance. The experimental instance does not need to exist before starting the install
https://www.jetbrains.com/help/resharper/sdk/Extensions/Deployment/LocalInstallation/ExperimentalInstance.html
In Visual Studio 2017 this became a bit easier. There you can create completely separate instances from the installer.

Visual Studio debugger showing variables with memory address instead of value

I recently moved to a new PC, and my visual studio is now showing all variables in some sort of memory address mode. Normally I would just see the simple properties and values. I can't figure out how to turn this off and get the standard view.
Visual Studio Screenshot
Aw dude, so simple:
Close all instances of Visual Studio
Right-click on the Microsoft Visual Studio 2010 shortcut and go to its Properties
Go to the Compatibility tab and uncheck "Run this program in compatible mode for:" and say Apply
Now start Visual Studio and open the project. You should be able to debug it.

How to remove duplicate entries in Visual Studio Selector?

I'm using Visual C++ Express 2010. Weird thing, when I start *.sln file with "Microsoft Visual Studio Version Selector" (dblclick in explorer for example), I get 2 lines for each installed product.
Meaning duplicated (2010 and 10 are the same)
Visual C++ 2010
Visual C++ 10
How to remove one of them?
Screenshot of "About" dialog.
The values are probably in the registry. You should be able to figure out where the settings on with the help of Sysinternal's Process Monitor.
The Visual Studio Launcher is called VSLauncher.exe. If you filter for registry operations that are performed by that executable, it shouldn't be too hard to find.
.
I have made a github repo with the filter and the procmon events for your reference. Hope this helps.

multiple Output windows in Visual Studio 2010

Is there a way to have more than one Output window open in Visual Studio at the same time?
It is not possible with the built-in Visual Studio settings.
The only workaround would be to develop VS extension which adds an additional custom Output Window maybe.

Command line to start visual studio and disable add ins/Extensions for that instance

I am writing a Visual Studio template wizard. And to debug it I have it start a new instance of Visual Studio 2010.
My Visual Studio 2010 takes a good while to start up. I believe that this is due the the add-ins and extensions that I have installed for visual studio.
I would rather not go disable them all (I really like them). So I was hoping there was a way to disable them via the command line.
Just run a clean Visual Studio instance.
Is there a way to do that?
Try safemode
devenv.exe /safemode
which
Starts Visual Studio in safe mode, and loads only the default environment and services, and shipped versions of third-party packages.
See http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx

Resources