Re: [GD-Windows] Call stack
Brought to you by:
vexxed72
From: Simon O'C. <si...@sc...> - 2005-02-09 13:58:05
|
<html><body><P><FONT face=3DArial size=3D2><BR>I wrote some code a while ba= ck that sounds like what you're after - or at least should point you i= n the right direction:</FONT></P> <P><FONT style=3D"FONT-FAMILY: arial,helvetica,sans-serif" size=3D2><A href= =3D"http://www.sc3d.com/thought/snippets/debugging/GetFunctionCaller/">http= ://www.sc3d.com/thought/snippets/debugging/GetFunctionCaller/</A></FONT></P> <P><FONT style=3D"FONT-FAMILY: arial,helvetica,sans-serif" size=3D2>NB: It'= s not quite what I'd class as "production" quality - it was written fo= r debugging purposes only :o)</P> <P>Cheers,<BR><BR>Simon O'Connor<BR>Programmer @ Reflections Interactive<BR= >& Microsoft DirectX MVP<BR><BR>--- "Diogo de Andrade" <Diogo.Andrad= e...@ne...> wrote:<BR><BR>From: "Diogo de Andrade" <Diogo.Andrade@= netvisao.pt><BR>Date: Wed, 9 Feb 2005 13:43:16 -0000<BR>To: <gamedevl= ist...@li...><BR>Subject: [GD-Windows] Call stack<= BR><BR>Hey all! <BR><BR>This is a long shot, but is there any way to output= the call stack in <BR>MSVC 6.0? <BR>More precisely, I'm having some proble= ms with the recording/playback in <BR>my engine, and I tracked it to the ra= ndom number generated (when on <BR>playback, it is being called more often = than on recording, which is a <BR>strange behavior). Anyway, I'm logging th= e output of the random number <BR>generator (this is how I found out the as= ynch), but it would be really <BR>helpful if I could output to the log file= the call stack just to see <BR>exactly WHO is calling the random number ge= nerator out of turn... <BR>Is there any "simple" way of doing this (just fo= r debug purposes)? <BR><BR>Thanks in advance (and sorry if this is OT, but = I'm not sure) <BR><BR>Diogo de Andrade <BR>Creative and Technical Director = <BR>Spellcaster Studios <BR>dio...@sp... <BR><BR><B= R><BR><BR><BR><BR>------------------------------------------------------- <= BR>SF email is sponsored by - The IT Product Guide <BR>Read honest & ca= ndid reviews on hundreds of IT Products from real users. <BR>Discover which= products truly live up to the hype. Start reading now. <BR>http://ads.osdn= .com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick <BR>________________= _______________________________ <BR>Gamedevlists-windows mailing list <BR>G= ame...@li... <BR>https://lists.sourceforge.net= /lists/listinfo/gamedevlists-windows <BR>Archives: <BR>http://sourceforge.n= et/mailarchive/forum.php?forum_id=3D555<BR></P></FONT></body></html> |