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

