My Community
March 30, 2015, 09:05:57 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: 6/29/2011 RakNet 4.022 released.
   Home   Help Search Login Register  
Pages: [1]
Author Topic: VS2003 Network Debugging  (Read 2433 times)

Karma: 0
Posts: 5

View Profile
« on: January 03, 2006, 02:43:14 AM »

Hi Guys,

Just thought i would share something i found today by accident today after using vs 2003 for over a year! (yes i know im slow)

When debugging network games i was using 2 machines, but while right clicking on the solution explorer on the project, there is an option in the menu that pops up that is "Debug" and drops down to a further menu that is "Start New Instance" which helps immensely when debugging - it means i can run both programs on the one machine, and in debug mode!

It seems to be a little buggy - occasional unprovoked slowdowns for 30 seconds or so, and some extra cl.exe processes if i make a change which takes forever, but even still - it is a great timesaver.

It got me to thinking - what other tidbits am i missing that would make my life easier?
Anyone got any shortcuts they would like to share?

Report to moderator   Logged
Jr. Member

Karma: 2
Posts: 97

View Profile
« Reply #1 on: January 03, 2006, 06:50:50 AM »

Hm yeah VS sometimes hides features Wink
Some time ago i found out you can exclude source files from a build (show properties of a cpp file in the solution explorer, there you can exclude it). This stopped me from removing and adding source files just to stop them being compiled..

Instead of running two instances on the same debugger, it'll maybe better to start two instances and let each debug one instance (you can link the debugger dynamically to any instance, look into the debug menu).

Some more interesting features provides WholeTomatoe's VisualAssistX ( Some nice features I like there is of course the improved coloring and intellisense but also some buttons on it's toolbar, like switching between header file and implementation file of a class by one click
Report to moderator   Logged
Hero Member

Karma: 292
Posts: 6895

View Profile WWW
« Reply #2 on: January 05, 2006, 12:03:13 AM »

You can use remote debugging so you run one instance on one machine and another on the local machine.  This way you only do one build for both machines and only updates assets, not source.  You can make this easier by creating a project in the solution to do remote debugging by default.
Report to moderator   Logged
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.17 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!