What is difference between release and debug mode in C#? [Resolved]

Posted by Rajeshatkiit under C# on 12/19/2015 | Points: 10 | Views : 1427 | Status : [Member] | Replies : 4
What is difference between release and debug mode in C#?




Responses

Posted by: Rajnilari2015 on: 12/19/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 50

Up
1
Down

Resolved
Debug Mode

Building an application in debug mode will help at the development time to figure out the errors in the code. We use F5 for Debugging, F10(Step Over) or F11(Step Into) function keys along with breakpoints to investigate the execution process of the program.The .pdb file gets generated in this mode which keep track all the debugging process which on the other hand makes the application to execute slowly (as opposed to release mode). So we can figure out that, in this mode the source code is available to the developers.

Release Mode

At the time of deployment, we deploy the assemblies to the client machine. Henceforth, there is no need to produce the source code and the debug information at the client location . This is done through Release mode. Since no debug information is not generated, henceforth, this is comparatively faster . However, at during the release mode, we obviously use the logging framework and enable tracing so as to get the root cause of the problem of the application when it behaves unexpectedly.Equally, we employ health monitoring to measure the application performance.

hope this helps

--
Thanks & Regards,
RNA Team

Rajeshatkiit, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajeshatkiit on: 12/19/2015 [Member] Starter | Points: 25

Up
0
Down
Thanks

Rajeshatkiit, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajnilari2015 on: 12/19/2015 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Up
0
Down
@ Rajeshatkiit Sir, if it helped you, please mark it as answer

--
Thanks & Regards,
RNA Team

Rajeshatkiit, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 2/12/2016 [Member] Silver | Points: 25

Up
0
Down
Here the Explanation is Good. Thanks :)

Feel free to share informations.
mail Id ' adityagupta200@gmail.com
Thanks

Rajeshatkiit, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response