The HL1 engine has a structured exception handler around the main function call so it can create a minidump on crash (similar to HL2). To catch exceptions in the debugger rather than through the handler set go to the Debug->Exceptions menu and set the exception type you want (Access Violation for example) to "Stop always".
- Alfred ----Original Message---- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Fearn Sent: Wednesday, August 10, 2005 3:27 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] MSVCR70 Missing - HL1 Debugging Session > Still can't catch exceptions when running HL1 mod in VS .NET 2003 ... > anyone have any idea what may be causing such a thing? > > Jeff > > On 8/7/05, Jeff Fearn <[EMAIL PROTECTED]> wrote: > > Hi everybody! I have just upgraded to VS .NET 2003, yes I am cutting > > edge ;) And I still can not get the debugger to catch seg faults :( > > > > I can set break points and if they are set before a crash then it > > will stop and get in to the debugger ok, however if the crash is > > before the break point then the server will just crash and exit. > > > > Just to recap... > > > > Halflife 1 mod, VS .NET 2003, can set and catch break points, seg > > faults don't get caught by debugger, Windows XP. > > > > Commmand line args: -steam -allowdebug -game wizardwars > > > > Not sure -allowdebug is required for HL1 mods, but tried it anyway > > :) > > > > SteamApp.cfg: > > SteamAppId=70 > > SteamAppVersionId=0 > > SteamInstallPath="D:\Steam" > > [EMAIL PROTECTED] > > BinaryLogEnable = disable > > > > Steam.dll & msvcr70.dll in half-life directory > > > > Jeff > > > > On 5/15/05, Jeff Fearn <[EMAIL PROTECTED]> wrote: > > > On 5/15/05, Adam amckern Mckern <[EMAIL PROTECTED]> wrote: > > > > Just download the dlls' > > > > > > > > You can find them in the zhlt package - > > > > http://downloads.ammahks.com/zhlt/zhlt321.zip (place them in > > > > the system32 folder) > > > > > > > > I dont know why its asking for them, mayb vs6 downloaded a > > > > service pack in the background > > > > > > I should have mentioned, I did d/l this dll and put it in the > > > steam directory, which removes the message, however VC++ will > > > still not debug the crash, steam just exits :( > > > > > > Jeff > > > > > > > _______________________________________________ > 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