niksrb
niksrb

Reputation: 459

Choose which process to debug in Visual Studio

I am creating client - server application, where clients are participating in a game. They are communicating with each other by serializing their data and sending it to the server. Later, server forwards that data to the right client. The game requires exactly three players to be played.

To test my app on a local machine, I am starting one instance of server and three instances of client. What I have problem with is that after I set breakpoints in code I am only catching the last instance of client that was run. Can you tell me how can I switch between processes, or choose which specific process I want to debug?

Upvotes: 0

Views: 185

Answers (1)

Shameer Mohammed
Shameer Mohammed

Reputation: 115

You can use the "Attach to Process" option in the Debug menu to choose a specific process for debugging.

Upvotes: 3

Related Questions