Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Debugging an application called from another in Visual Studio?

I have a lobby application which invokes a client-application (think: League of Legends). They're two separate applications and the first invokes the second from itself - how can I get Visual Studio to debug this application as well?

like image 769
Vaughan Hilts Avatar asked Sep 05 '26 05:09

Vaughan Hilts


2 Answers

You simply need to launch a separate Visual Studio, and then use Debug | Attach to Process to attach to the other process. The trick is using two Visual Studios.

like image 113
Matthew Watson Avatar answered Sep 07 '26 20:09

Matthew Watson


Debug -> Attach to process

Select the executable from the list.

Make sure to select the right code type with the Select.. button.

like image 43
Yochai Timmer Avatar answered Sep 07 '26 19:09

Yochai Timmer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!