|
Go
into Project>Settings>Debug, and set the Category: to "Additional
DLLs". Add your mod's dll (both your client and server if you'd like) to
the list.
Is there a way to get a stack dump from the
MSVC++ debugger. I have compiled with the debug project settings enabled and I
am running HL with the +developer 1 switch turned on, but it's crashing with
no stack dump. The context stack just has !HL0x4880000 or some address like
that and nothing else. Not very helpful. I have been reduced to putting a
bazillion printf's that print to a trace file because there is nothing else to
work with. This sucks. If the single player mode would run under linux,
this would be so easy to fix. (gcc/gdb rules!)
If there is no trick to getting a stack dump,
does anyone know what functions are called in the mod DLL between just after
GetWeaponData() exits and just before PlayerPreThink() gets called in the
client.cpp module? This apears to be when the crash is
occuring.
|