Commit Graph
37 Commits
Author SHA1 Message Date
Glenn Maynard 67fbd40cf7 don't use GetThreadId 2004-02-25 23:14:28 +00:00
Glenn Maynard 93c86a63a4 on mutex deadlock, get a backtrace of the thread that we're deadlocked
with
2004-02-25 21:08:10 +00:00
Glenn Maynard 5cb9970c4e split out do_backtrace 2004-02-25 08:34:26 +00:00
Glenn Maynard 6ff5eba04d Forcibly terminate after a crash. 2004-02-23 00:47:18 +00:00
Glenn Maynard ae54bae77f crash -> debug_crash 2004-01-19 21:10:04 +00:00
Glenn Maynard a8e73bc3d7 trying to fix crash handler hangs when subthreads crash while the
main thread is holding a mutex
2004-01-17 00:34:34 +00:00
Glenn Maynard e40c819dc2 cosmetic 2004-01-14 22:18:27 +00:00
Glenn Maynard 651e590200 cleanup, hotkeys, don't close if enter pressed (too easy to accidentally close
if pressing enter quickly during a crash)
2004-01-13 06:43:50 +00:00
Glenn Maynard 6ac866c0de fix crash handler deadlock 2004-01-12 01:37:00 +00:00
Glenn Maynard a2b432cdfb fix paths 2003-12-12 09:14:09 +00:00
Glenn Maynard a6b072c9ca Move debugging options into a separate INI section, since I use them
very frequently, and they're mostly not available in the menus.

Add LogCheckpoints.

Move checkpoint code into a namespace.
2003-11-24 00:23:18 +00:00
Glenn Maynard eb0daaf7e2 support g_bAutoRestart 2003-10-16 09:00:20 +00:00
Glenn Maynard 22c9cb17f3 simplify 2003-10-01 20:54:37 +00:00
Glenn Maynard 9d7df5036c Simplify. Use RageThread::HaltAllThreads. 2003-10-01 08:21:11 +00:00
Glenn Maynard fabe1ff314 remove old code 2003-10-01 07:16:39 +00:00
Glenn Maynard a316e1cfa1 Cleanup, fix path. 2003-09-22 00:10:04 +00:00
Glenn Maynard f21af04762 Use dbghelp for prodding DLLs. Leaving old code in place for now
until this gets some testing, but if it works well then we can kill a few
hundred lines of code.
2003-09-19 07:19:25 +00:00
Glenn Maynard 627a90fb0a Improved C++ demangling. 2003-09-19 06:22:17 +00:00
Glenn Maynard 8a88cfdc7c Must never call LOG->* methods from the crash handler 2003-09-05 19:44:10 +00:00
Glenn Maynard 3f19c51f27 simplify 2003-09-03 03:30:32 +00:00
Glenn Maynard 834195f462 fix more output truncation 2003-09-02 06:01:28 +00:00
Glenn Maynard 57f21d13d0 fix output truncation 2003-09-01 19:49:49 +00:00
Glenn Maynard 3fdc0ff8a4 Remove the disassembler. It's never been useful, and it's a lot of code--
a lot of extra room for error in code we really want to be robust (the error
handler).

Remove "crashdump.dat".  It was only useful for tracing crashes in
the disassembler.
2003-09-01 02:47:24 +00:00
Chris Danford b4b20df751 Flush log at the beginning of CrashHandler so the log isn't cut off at the tail. Is there a problem with this? I can't think of a reason why fflush would need to allocate memory. 2003-08-26 08:18:49 +00:00
Glenn Maynard fa67577a4f improve output 2003-08-19 02:30:10 +00:00
Glenn Maynard 1863b166f2 use GetCheckpointLogs 2003-08-05 01:29:36 +00:00
Glenn Maynard e3625db111 fix warnings 2003-08-03 02:47:43 +00:00
Glenn Maynard 0ddc939e62 Forcibly ignore bogus floating point exceptions. 2003-07-30 01:15:56 +00:00
Glenn Maynard 97d06dca09 cosmetic 2003-07-24 20:10:47 +00:00
Glenn Maynard 34f504aec5 Simplify. 2003-07-23 22:51:43 +00:00
Glenn Maynard 524d376299 Use RageLog::GetAdditionalLog. 2003-07-23 21:47:41 +00:00
Glenn Maynard 576f233eb6 add AdditionalLog 2003-04-22 05:21:08 +00:00
Glenn Maynard 6f3175c035 some abortive efforts to bring the crash handler up to date with
vdub; i'll get back to this some day
2003-03-24 04:20:19 +00:00
Glenn Maynard 112d0f38fe _debug -> debug
we handle win32 versioning in DebugInfoHunt now
2003-02-16 04:07:39 +00:00
Glenn Maynard 7a7f7372e2 and some more stdafx -> global
(whew)
2003-02-16 04:05:10 +00:00
Glenn Maynard 3d4d28eeb0 fix newlines in static log 2003-01-25 10:09:39 +00:00
Glenn Maynard 0ea89305ed move crash stuff into archutils 2003-01-24 22:23:09 +00:00