Debugging RELEASE version
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.
Re: Debugging RELEASE version
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
Re: Debugging RELEASE version
Thanks Karl, I'll read them up.