fd14510005
minor improvements: squelch warnings when dumping; debug_out an indication that is_string_ptr raised an exception
...
This was SVN commit r2070.
2005-03-27 18:17:03 +00:00
6908cc1062
still getting 'incorrect symbol tag' assert (SymTagBaseClass). replaced with debug_out
...
This was SVN commit r1986.
2005-03-10 17:01:18 +00:00
614e523c89
mmgr.h: slightly better comments / spacing
...
wdbg: fixed root cause of assert noted during 2005-02-05 meeting (now
skip UDT child symbols that don't have an offset, i.e. uninteresting
stuff like BaseClass symbols)
This was SVN commit r1915.
2005-02-08 21:08:00 +00:00
afbf08ab1d
Avoid infinite recursion in debug_warn/assert2
...
This was SVN commit r1911.
2005-02-05 19:14:56 +00:00
3f71d8f6f3
mmgr: further cleanup; reduced size of struct Alloc; use caching symbol resolver in debug.cpp
...
lib.h: move debug_warn to debug.h; use assert2 instead of assert
wdbg: better explanation of "get current CONTEXT"; remove "tag ==
SymTagData" assert (triggered when dumping UDT)
This was SVN commit r1890.
2005-02-02 03:32:11 +00:00
a17998b91a
debug_resolve_symbol now tries to return information even if one step fails; output params are zeroed.
...
wposix: getcwd is now a function that calls _getcwd, to cooperate with
mmgr's #define hook
This was SVN commit r1877.
2005-01-30 16:08:14 +00:00
41e2f48daf
add reference to required .lib files to fix linker errors reported by stu
...
This was SVN commit r1860.
2005-01-29 16:43:46 +00:00
4c6713b582
again hooked up 0ad exception handler (pending cleanup of the exception code)
...
This was SVN commit r1852.
2005-01-28 19:11:30 +00:00
f25f6a2d70
wdbg: fix crash when exiting abnormally (alt+f4) - was erasing elements from container while iterating through it
...
win internal files: slight changes while looking through
This was SVN commit r1850.
2005-01-28 18:16:51 +00:00
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
f6c95b259d
include exception handler code only if EXCEPTION_HACK_0AD is required. (since some PS-specific code leaked into wdbg.cpp, have to disable that until i get around to cleaning it up)
...
This was SVN commit r1836.
2005-01-27 15:22:47 +00:00
969ed22f97
- provide for 1-byte ints (debug info is weird; dunno why it's stored as such, but they exist)
...
- if tag != SymTagDataType, don't dump the symbol (to be safe). this is
unexpected, but Philip reports it triggered.
- assert dialog is resizeable (grr, have to do that manually)
This was SVN commit r1828.
2005-01-26 16:25:56 +00:00
e7dcbfd19e
further cleanup; stack trace + dialog part done for now; will clean up exception part later (discussed with philip)
...
This was SVN commit r1820.
2005-01-25 23:55:49 +00:00
711bff0d3a
lib.h: moved assert2 to sysdep/debug.h
...
mmgr: remove wdbg calls (was prototype); use sysdep/debug interface
wdbg: no longer call it dbghelp63.h; should be installed normally in
compiler dir
win_internal.h: fix inevitable MS screwups in new dbghelp.h (*sigh*)
This was SVN commit r1816.
2005-01-25 18:54:48 +00:00
0d80a05aec
wdbg: much improved dbghelp stack dump, thanks to availability of new dox. should succeed with user-defined types - voodoo programming no more. benefits are reaped when using assert2 in code (recommended!) or an exception is raised.
...
also made "program error" dialog a bit nicer - it's now attached to
desktop and resizeable.
This was SVN commit r1814.
2005-01-25 18:42:42 +00:00
9cadcd875d
lint fixes; no longer dynamically load dbghelp (can always distribute required version)
...
work in progress: cleaning up debug info, add functions for mmgr to
query caller
This was SVN commit r1781.
2005-01-23 18:07:34 +00:00
090ea2301a
wdbg: temporarily removed LOCALIZED_TEXT so this works in another project. must find long-term solution: lib/ must not be dependent on ps/!
...
sysdep.h: add pick_dir
sysdep/win/win.cpp: .. and its win32 implementation
This was SVN commit r1655.
2005-01-07 00:59:52 +00:00
ed55ad4d82
Put crashlog into ScEd.
...
This was SVN commit r1590.
2004-12-28 20:53:54 +00:00
a2a6f29ab3
s/Prometheus/Pyrogenesis/
...
This was SVN commit r1459.
2004-12-05 21:56:09 +00:00
96807dd6f3
remove resource.h include - not needed, was actually referring to sced resource.h
...
This was SVN commit r1273.
2004-10-23 18:41:02 +00:00
2d153bac2d
Increased paranoia, in case the i18n system crashes while translating the crash message
...
This was SVN commit r1139.
2004-09-06 11:39:27 +00:00
78934b50c1
split up call to _CrtSetDbgFlag
...
This was SVN commit r1112.
2004-09-03 20:21:09 +00:00
f57e5ab737
Localised crash message (try ":loadLanguage("pseudogreek"), crash()" in the console in a non-Debug build)
...
This was SVN commit r1105.
2004-09-02 19:24:29 +00:00
fb7e097d24
move some win-specific debug calls here (implements sysdep/debug)
...
This was SVN commit r919.
2004-08-05 19:21:16 +00:00
f01b1ebb58
triviality: remove / from module filename in exception report
...
This was SVN commit r901.
2004-08-05 02:30:27 +00:00
9e19efa240
fix exception string (no longer always INVALID_HANDLE)
...
This was SVN commit r899.
2004-08-05 01:56:55 +00:00
ec506d0099
Made the pre-main() exception handler's stack trace use the right context
...
This was SVN commit r838.
2004-07-28 18:20:32 +00:00
fe1bee706b
Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
...
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
b61b1e805c
Better error handling! Wow!
...
This was SVN commit r778.
2004-07-19 19:05:34 +00:00
1e40ed1543
More attempted error handling
...
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
82de48832e
MICROLOG function for high-speed logging of everything that happened just before a crash
...
This was SVN commit r761.
2004-07-15 19:29:56 +00:00
af9cf31691
Working crash log
...
This was SVN commit r760.
2004-07-15 19:12:54 +00:00
3da6540b49
Output BOM and correct line endings in crashlog.txt
...
This was SVN commit r758.
2004-07-15 09:52:59 +00:00
b284b47a06
add crash log (call stack and minidump)
...
This was SVN commit r757.
2004-07-15 02:39:25 +00:00
a3926fb382
renamed assert function to debug_assert_failed (now portable, in sysdep)
...
This was SVN commit r750.
2004-07-14 03:05:26 +00:00
1a1cce9b18
better handling of complex types, but still buggy.
...
safer output and some cleanup
This was SVN commit r742.
2004-07-13 21:22:53 +00:00
af58165890
hooked up exception handler; a bit of cleanup
...
This was SVN commit r727.
2004-07-12 16:38:48 +00:00
fd701dc5d9
more L4 warnings stomped
...
This was SVN commit r585.
2004-06-22 13:22:46 +00:00
fa0741c5f6
increase buffer size; cleaned up basic type lookup routine
...
This was SVN commit r583.
2004-06-21 14:23:36 +00:00
ccd32180ec
fixed header name
...
This was SVN commit r562.
2004-06-19 14:57:29 +00:00
ed17ed9fb4
debug functions (superassert with stack trace)
...
This was SVN commit r561.
2004-06-19 14:54:25 +00:00