Command : D:\Games\Valve\Steam\SteamApps\swallowbush\half-life 2 deathmatch\hl2.exe Command Arguments : -steam -applaunch 320 -dev -allowdebug -windowed -game "d:\games\valve\steam\steamapps\SourceMods\HLMod" +map "sdk_3d_skybox" Working Directory : D:\Games\Valve\Steam\SteamApps\swallowbush\half-life 2 deathmatch\
I was told that I had to direct it to the HL2DM directory, because I was using that extraction. I can do exactly that but I was talking to root at one point and he told me that he was debugging with attach on, and I can honestly say I have lost way too much sleep over this when I could have been coding. I have checked the service being on (don't remember which one he had me check atm) and even took apart my system, and reinstalled XP a week ago thinking that there was a problem with it. Still nothing. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zach Brockway Sent: Monday, June 27, 2005 11:25 PM To: [email protected] Subject: Re: [hlcoders] Debugging is a problem Don't attach. Go into your project's property pages, debugging, and set the "Command" to the path to your "SteamApps\(username)\half-life 2\hl2.exe", then set the "command arguments" to something like the following: -dev -game "d:\steam\steamapps\SourceMods\hyper" -allowdebug -sw -dev and -game should be obvious. -allowdebug prevents the engine from barfing when it tries to load debug versions of the game/client DLLs, and -sw starts in windowed mode. Set "attach" to no, then just make sure Steam is running before you hit F5. Works fine for me. On 6/27/05, bob <[EMAIL PROTECTED]> wrote: > I have gone through the SourceWiki, as well as had 12+ people try to > help me out with this problem, but it continues to arise as more and > more of a wall that is slowing me down as a developer. > > I cannot debug my mod. I can use the developer mode and do DevMsg()'s > everywhere but I cannot use MSVS for what its more than good for and be > able to view an array or whatever. I have built the debug configuration, > it builds perfectly, even recognizes the #ifdef DEBUG tests, but for one > reason or another it is not able to attach to hl2. Do I have to start up > the game before hand? I was under the impression that I could just hit > F5 and let it run and I would see it go nuts without my interaction or > previous action for that matter. > > I appreciate any help. > -Bob Chatman > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- "I am at the point where coffee just makes my teeth vibrate." - Tycho, Penny-Arcade.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

