NET - Debug Build vs. Release build in .NET

Debug Build vs. Release build in .NET.

In Debug mode, You can use the development environment's integrated debugging functions. These allow us to stop at procedure locations, inspect memory and register values, change variables, and observe message traffic. We can add watches and evaluate and dig into the code logic. Also, Debug command only work in Debug mode and not in Release Mode.

The Release mode is used for creating a deployable copy of the application. This would not execute the Debug commands, however one can use Trace command in Release mode to monitor performance and application flow.

In debug mode, you deploy the .pdb file along with the .exe and thus have access to the specific line of code that throws an exception.
NET - What is Code Access Security? Describe the purpose of CAS.
What is Code Access Security? Describe the purpose of CAS - Code access security is a mechanism to help protect computer systems from malicious code......
NET - What is a Permission? What is a Permission Set?
What is a Permission? What is a Permission Set? - Permission is a rule to enforce restriction on a piece of managed code.......
NET - What are code groups in .NET?
What are code groups in .NET? - Code group is a logical grouping of code that follows some given conditions for membership.......
Post your comment