Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C#

Name: Anonymous 2010-06-03 21:29

Anyone know a solution for the following?
I'm creating a program that has both a server and a client. Now I have both sides included in a single project.
What is the best solution for debugging this? i.e. how do I start the 2 classes at once (multiple processes/threads?).

Or would you recommend an alternate approach (splitting the project but sharing certain classes?), and is it possible to start multiple projects in a solution when debugging?

Name: Anonymous 2010-06-03 21:53

>>1
You use a debugger, of course.

Alternately, implement a test program that outputs all data that is passed and processed by either side, log that, then review the logs analytically.

There are probably more elegant ways to debug a client-server application but I've always found the brute force method of telling the program to put all its cards for the time being on the table is most thorough.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List