Go to Debug->Exceptions in MSVC and set "Access Violation" to "Break Always".
- Alfred Jeff Fearn wrote: > On 12/11/05, Alfred Reynolds <[EMAIL PROTECTED]> wrote: >> If you want to have an internet server (i.e sv_lan 0) and still want >> to debug then you can also launch your game via Steam and then >> attach the debugger to the process. > > Nah, that's fine debugging on lan is ok. > > I am having a problem getting VS .NET 2003 to catch seg faults though. > It just exits back to VS instead of breaking. > > ---sample out put--- > 'hl.exe': Loaded > 'D:[EMAIL PROTECTED] \cl_dlls\client.dll', > Symbols loaded. > > 'hl.exe': Loaded > 'D:[EMAIL PROTECTED] \dlls\wizardwars.dll', > Symbols loaded. > > > ---snip---- > > First-chance exception at 0x08a56a75 (wizardwars.dll) in hl.exe: > 0xC0000005: Access violation reading location 0x0000004c. > 'hl.exe': Loaded 'D:\Steam\dbghelp.dll', No symbols loaded. > 'hl.exe': Loaded 'D:\Steam\CSERHelper.dll', No symbols loaded. > 'hl.exe': Loaded > 'D:[EMAIL PROTECTED]', > No symbols loaded. > File > d:[EMAIL PROTECTED] demoheader.dmf > was never closed > The thread 'Win32 Thread' (0x860) has exited with code 0 (0x0). > The thread 'Win32 Thread' (0xebc) has exited with code 0 (0x0). > The thread 'Win32 Thread' (0x914) has exited with code 0 (0x0). > 'hl.exe': Unloaded > 'D:[EMAIL PROTECTED] .dll' > > ---end--- > > Then it unloads everything else and drops back to VS. > > Thanks, 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

