Is this deja-vu or non-related (posted on 12/7)?: ---------------------------------------------------- Christopher McArthur wrote: > So If I start the game with the debugger, on game launch and level launch I > am greeted with tens of thousands of "First-chance exception" spamming my > output->debug window and making the game take up to 5 minutes to load > sometimes..
It sounds like you have some exceptions enabled that you should not... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm l/vxgrfchanginghowdebuggerhandlesexceptions.asp -- Jeffrey "botman" Broome ---------------------------------------------------- I thought that I read somewhere that Alfred mentioned Steam is still in "debug" mode and will cause this exception spam, but I couldn't locate where I read it. - HoundDawg > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Jeffrey "botman" Broome > Sent: Monday, January 03, 2005 6:46 AM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] First-chance exception spam in Visual > Studio Output window... > > I was creating some Wiki documentation over the weekend and I > wanted to > start building a MOD from scratch so that I would have exact > wording on > Dialog boxes and whatnots. So, anywho, after deleting MyMod directory > and deleting SteamApps\SourceMods\botman folder, and using "Reset Game > Configurations" to flush everything from Steam. I "Create a > Mod" in the > "C:\MyMod" directory and name the mod "botman". > > I open up Game_SDK.sln in Visual Studio .NET 2003, change to the > "Release SDK", build the solution, it copies the client.dll and > server.dll to the Mods "bin" directory. I start things up from the > Steam "Play games" dialog by double-clicking on my MOD name. > Everything > runs fine, I start the vehicles map, shoot my gun a few > times, then quit. > > Then I switch to the "Debug SDK" solution, delete the client.dll and > server.dll files from my Mod's "bin" directory, build the solution and > the debug .dll files show up fine. I set the Debugger > properties on the > "hl" project to: > > Command: c:\program > [EMAIL PROTECTED] > fe 2\hl2.exe > > Command Arguments: -dev -game "c:\program > files\valve\steam\steamapps\SourceMods\botman" -allowdebug > > ...right click on "hl" in the Solution Explorer and do > "Debug->Start new > instance". Everything starts up fine, but I get (literally) thousands > of exception messages... > > Microsoft C++ exception: common::CErrorCodeException > > It's been a few weeks since I ran a Mod in the debugger, but I don't > seem to remember getting all that before, but I did remember somebody > posting a message to this list about a month ago saying they were > getting LOTS of "exception" messages, and I replied that you can turn > off some of the exceptions using "Debug->Exceptions" in Visual Studio > .NET 200, but you can only turn off stuff that Visual Studio > recognizes > (like stack overflow, illegal instruction, or array bounds exceeded, > etc). common::CErrorCodeException is something being raised by the > engine and isn't something I can turn off. > > I did notice that if I create a server plugin for a Valve game (like > CS:S or HL2DM), I get a few common:CErrorCodeException messages when > starting up, but I don't get the 1000's of message that I get when I > start my own MOD. > > So, to make a long post even longer, does everybody get > 1000's of these > execption messages in the Visual Studio Output window when > running their > MOD in the debugger, or do I just have something not set up right? > > P.S. I did try adding "-steam" to the "Command Arguments" before > starting the debugger, but that doesn't seem to make a difference, I > still get the same behavior. > > -- > Jeffrey "botman" Broome > > _______________________________________________ > 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