Log in

View Full Version : Remote Debugging Question


flysim
07-25-2004, 08:23 PM
Hi All,

Our game is crashing on a potential customer's computer and he
has agreed to help me find the problem. My question is how do
you debug on a remote machine - is there some sort of core
file - if so how do I import it into the debugger.
I am using MSVS 6.0, C++ and OpenGl.

Thanks for any leads.
-J.R.
www.flysim.com

BTW great forum - been lurking for a month - best S/N ratio Ive seen.

ggambett
07-25-2004, 08:37 PM
The closer I've gotten to that is doing an annotated stack trace. That is, I keep a stack "parallel" to the real stack, in C++. Most of the methods just push/pop their name, but they can also add arbitrary strings, for example to show important local values or parameters.

Coupled with logging and automatic sending of the crash reports, it has proven an invaluable tool to fix really hard to reproduce bugs. Not as good as remote debugging but still infinitely more helpful than other "manual" methods.

Mark Fassett
07-25-2004, 08:45 PM
There are a set of files, but it's likely not going to work over the internet. It might work with an IP address, but I doubt it. Do a search in MSDN for remote debugger - there's a list of files you need to copy to the target machine (and they're not conveniently in the same place, either).