The server uses sockets and listens for request messages issued by a client program.
Eventually, the server will run on a remote machine, but at the moment it runs on the same PC as the client and communicates via localhost loopback.
I start the server program from the Linux/Ubuntu command line and then the client program from codeblocks. I debug, single-step, watch variables etc on the client via codeblocks and use printf on the server. Using printf is tedious, so it would be nice to be able to use codeblocks on both server and client when both are active.
Starting the server from the Ubuntu menu, Applications->Programming->Codeblocks works fine, but when I try the same for the client program nothing happens, i.e. there is no second instance of codeblocks appearing for the client.
How can I debug both server and client using codeblocks?