I have C++ client written. I want to step by step debug the same, but before that I want to start separate server, Can I do the same when I say start debug client. i.e. when visual studio starts client library , it should first my server ( external program )
I have C++ client written. I want to step by step debug the same,
Share
There are a couple of ways to do this, the nicest being multiple startup projects. This requires both client and server projects being in the same solution. It allows debugging both exes simultaneously. Using Remote Debug Monitor and altering
Configuration Properties->Debuggingoptions you can even start the server on a seperate machine.If you do not want to debug the server project, you can do something like my answer here
Another way is to start a batch file in
Configuration Properties->Debugging->Commandand make it start the server first, then the client.