Re: [hlcoders] Help debugging half-life 1 mod

2005-06-16 Thread Jeffrey \botman\ Broome

Kuja wrote:

Hey, all.

Normally I wouldn't bother the list with this question, but I've
exhausted every other resource in trying to figure out my problem. I am
completely and totally unable to debug my mod in steam half-life, or
even won half-life. I am unable to do it when attaching, when launched
from the ide, or even using a different debugger (debuggy). I always get
the same call stack: a bunch of ntdll.dll and kernel32.dll (sometimes
winmm.dll, dsound.dll etc). It loads my module, and it finds the debug
symbols. It just sticks me in ntdll, which is absolutely useless. Am I
doing something wrong? This is .net 2k3 on XP SP2.


How far does it get before crashing?  If it's crashing during startup,
place breakpoints at various startup functions (like ServerActivate,
ClientConnect, ClientPutInServer, etc.) to determine which functions are
working and which aren't.  If it's happening during gameplay, begin by
commenting out huge chunks of code that you've added until it stops
crashing, then gradually re-enable stuff until you narrow down what's
causing the problem.

--
Jeffrey botman Broome

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] Help debugging half-life 1 mod

2005-06-15 Thread Kuja
Hey, all.

Normally I wouldn't bother the list with this question, but I've
exhausted every other resource in trying to figure out my problem. I am
completely and totally unable to debug my mod in steam half-life, or
even won half-life. I am unable to do it when attaching, when launched
from the ide, or even using a different debugger (debuggy). I always get
the same call stack: a bunch of ntdll.dll and kernel32.dll (sometimes
winmm.dll, dsound.dll etc). It loads my module, and it finds the debug
symbols. It just sticks me in ntdll, which is absolutely useless. Am I
doing something wrong? This is .net 2k3 on XP SP2.

Help.

-Jeff 'Kuja' Katz

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders