Click to See Complete Forum and Search --> : Debugging RELEASE version


Clarence
April 1st, 1999, 12:10 AM
I've built a SDI application. It works perfect under DEBUG project setting. However, it crashes for the RELEASE version. There was no error in compiling and linking.


I wonder how I can do 'debugging' on the RELEASE version ? I've set the project setting for RELEASE version to 'generate debug info, 'generate browse info' and diabled optimization 'disable(debug)'. I tried stepping and an unhandled exception occured in APPMODUL.CPP


_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)

{

// call shared/exported WinMain

return AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);

}


Any suggestion ?

Thanks.

Karl Spaelti
April 1st, 1999, 01:15 AM
Have you looked at the debug section of CodeGuru? The article "Why doesn't my project work in release mode? by Keith Rule (1999/01/18)" there might help.


Regards. Karl

Clarence
April 1st, 1999, 05:24 AM
Thanks Karl, I'll read them up.