> OK, here's the problem. After a second level load, or a respawn after > death, my mod will freeze. No errors, no debug messages from it or > msvc, and hit break just lands in the middle of hl.dll disassembly. > > Now, yes, I know that it's crashing there because of something I did > somewhere else, and I know roughly where, I can even make it happen > everytime...but because of he way it's crashing, I can't find out what > the hell it was doing at the time i crashed. I'm going to try the > Tracer logging suggestion (lots of ALERTS revealed nothing) and see if > it helps, but I can't imagine I'm the first one to get this sort of > crash. > > Any clues? How do you guys debug yours? :P
After you stop the debugger, use "View->Debug Windows->Call Stack" to see what functions led up to the problem. You'll see functions listed in reverse order (most recent at the top, on the top of the stack). You can double-click on any of them to load that function into the debugger window and examine variables from there to see why it's stuck (more than likely in some infinite while/for loop). Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

