I wrote a Client that will connect to my WCF service, and the service will able to handle multiple client application connections.
So when I first start testing it, I configured Visual Studio to start multiple projects to start up both my client and WCF service project in Visual Studio.
Then because I want to test if it works when I have multiple client applications connected to my service, I start up another client application manually (double…click on exe).
So yeah, of course the client application that I started up manually won’t be able to debug in Visual Studio, and it does have strange things goes on. So is there any advice for debugging in situations like this?
You can launch the additional clients separately, and then in a new instance of Visual Studio (with the project loaded), go to the Debug menu and select “Attach to Process” to start debugging the new client.