Next, tell it to start up the VS devenv.exe for the external program. Now when you run your program in debug (Ctrl+F5) it will launch another session of VS. But your project with your type editor will break anywhere you place a break point and you can then debug your type editor....very nice trick
I was hoping that there would be some way to debug it besides >>Try to set property >> Crash Visual Studio >> Stare Blankly at screen >> Restart Visual Studio >> Stare Blankly at code>> Wait till Eyes are blurry and crossed >> try something >> Try to set property again >> Crash Visual Studio >> Stare Blankly at screen>> you get the picture
I also noticed that when I make a change in the editor the change would not show unless VS is restarted.
I would guess that setting it up to run as you showed will eliminate that issue in the spawned instance of VS but I still would need to remember to restart the main instance once I am finished debugging.
Thanks alot.
Paul
If you have your assembly in the GAC then the assembly is cached within VS and will not reload. Also, there are other times the the assembly will be cached with VS in the AppDomain and you have to get out and come back in for it to work. When it launches the devenv.exe, it will load the new assembly so you won't have this problem when testing.