You might also be able to simulate the problem by filling in the path to the
file name in the project properties as the command line under Debug. Then
you could run the program from the debugger and get nearly the same effect.
If I double click on a document for my application it crashes - how do I
debug this, because clearly I can't do it while the tool is running (it
opens a new instance when double click a file)? I associated the files
with the debug version of the build and it brings up visual studio OK, but
there is no useful information (to me!) and none of my classes are in the
callstack window, nor does it step into any of my code. Callstack window
has just this:
mfc80.dll!CWinApp::ExitInstance() Line 852 + 0xa bytes C++
mfc80.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00152334, int nCmdShow=1)
Line 49 C++
Circa.exe!00490c95()
[Frames below may be incorrect and/or missing, no symbols loaded for
Circa.exe]
kernel32.dll!7c816fd7()
Any guidance would be appreciated. Thanks.