CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    6

    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.

  2. #2
    Join Date
    May 1999
    Location
    Bern, Switzerland
    Posts
    12

    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

  3. #3
    Join Date
    Apr 1999
    Posts
    6

    Re: Debugging RELEASE version



    Thanks Karl, I'll read them up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured