Re: Call stack
Simon O'Connor <[email protected]> Wed, 9 Feb 2005 05:57:59 -0800 (PST)
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
I wrote some code a while back that sounds like what you're after - or at least should point you in the right direction: http://www.sc3d.com/thought/snippets/debugging/GetFunctionCaller/ NB: It's not quite what I'd class as "production" quality - it was written for debugging purposes only :o) Cheers, Simon O'Connor Programmer @ Reflections Interactive & Microsoft DirectX MVP --- "Diogo de Andrade" <[email protected]> wrote: From: "Diogo de Andrade" <[email protected]> Date: Wed, 9 Feb 2005 13:43:16 -0000 To: <[email protected]> Subject: [GD-Windows] Call stack Hey all! This is a long shot, but is there any way to output the call stack in MSVC 6.0? More precisely, I'm having some problems with the recording/playback in my engine, and I tracked it to the random number generated (when on playback, it is being called more often than on recording, which is a strange behavior). Anyway, I'm logging the output of the random number generator (this is how I found out the asynch), but it would be really helpful if I could output to the log file the call stack just to see exactly WHO is calling the random number generator out of turn... Is there any "simple" way of doing this (just for debug purposes)? Thanks in advance (and sorry if this is OT, but I'm not sure) Diogo de Andrade Creative and Technical Director Spellcaster Studios [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_idU5