简体   繁体   中英

Visual Studio: On Breakpoint, start debug in other program instance

Here's a fun one for you Visual C# debugging wizards out there:

Is it possible to set the action of a breakpoint in the debug of a C# solution to continue from a paused debug state in another visual studio solution?

So Program A hits breakpoint X, whose action instigates Program B (in another instance of the same version of visual studio) to run until the next break point or close.

EDIT -- I'm not expecting state from A to be transferred into B or something stupid. I'm saying once B kicks off, its just normal program B execution, its as if I clicked the continue button, except it has been automated.

您需要在VS中设置多个启动选项: https : //msdn.microsoft.com/zh-cn/library/ms165413.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM