locked
Debug and Release mode ? RRS feed

  • Question

  • What is the difference in coding and building in both debug and release mode ?
    Which  is prefered when?

    Thanks a lot.

    Saturday, November 24, 2007 5:06 AM

Answers

All replies

  • Debug Mode is used when a Developer develop a application and release mode is used when a developer deliver a project that project should be in release mode.So it's depend in which senario you are asking this question.In a debug build the complete symbolic debug information is emitted to help while debugging applications and also the code optimization is not taken into account. While in release build the symbolic debug info is not emitted and the code execution is optimized.
    Also, because the symbolic info is not emitted in a release build, the size of the final executable is lesser than a debug executable.

    Thanx


    Tuesday, November 27, 2007 7:01 AM
  •  Pintu Shukla wrote:
    Debug Mode is used when a Developer develop a application and release mode is used when a developer deliver a project that project should be in release mode.So it's depend in which senario you are asking this question.In a debug build the complete symbolic debug information is emitted to help while debugging applications and also the code optimization is not taken into account. While in release build the symbolic debug info is not emitted and the code execution is optimized.
    Also, because the symbolic info is not emitted in a release build, the size of the final executable is lesser than a debug executable.

    Thanx




    hello,

    I understand basic difference between basic function of debug and release mode.
    Can u paste some link and explain in depth about


    In a debug build the complete symbolic debug information is emitted to help while debugging applications and also the code optimization is not taken into account. While in release build the symbolic debug info is not emitted and the code execution is optimized.


    Thanks.

    Tuesday, November 27, 2007 12:53 PM
  • Sure just check out this  List of Links
    Thanx




    Tuesday, November 27, 2007 12:56 PM
  • Thanks Pintu for your inputs.

    here is useful link.


    Tuesday, November 27, 2007 1:08 PM
  • You always welcome
    Thanx

     Navdeep wrote:
    Thanks Pintu for your inputs.

    here is useful link.


    Tuesday, November 27, 2007 1:12 PM