debug/release

  • Thread starter Thread starter Tym
  • Start date Start date
T

Tym

Being new to dotnet from VB6 could someone please explain the
difference between the degun build and release build of the "deployed"
program?

Does this mean that the debug comment can be logged when running the
debug version? If so - how?

advTHANKSance


__

Tym

All this technology and it still takes forever to get anywhere.
 
I "believe" that the difference is the debug build gives you for example a
line number and a "clear" error message in case of an error. A release build
will be faster because there will be more optimalizations and it hasn't got
the debug file attached to it, but there will not be "clear" error messages
withe linenumbers.

hth Peter
 
Tym said:
Being new to dotnet from VB6 could someone please explain the
difference between the degun build and release build of the "deployed"
program?

Visual Studio -- Debugging
Does this mean that the debug comment can be logged when running the
debug version? If so - how?

Visual Basic and Visual C# Concepts -- Tracing and Instrumenting
Applications in Visual Basic and Visual C#
<URL:http://msdn.microsoft.com/library/e...tationtechniquesdebugtracefornetframework.asp>
 
The difference between the Debug and Release versions, beside the
ability to modify the configuration parameters for each, is the
inclusion of the pdb file when the application is compiled. The pdb is
essentially a resource file that maps the line numbers, class names and
additional source information into the error. When you throw an
exception in debug mode, the Exception.ToString will contain only
pointer information and runtime information - but no direct reference
to specific line numbers. In Debug compilation - this material is
available to the runtime - and the Exception will have that info.

Kevin M. Schreiner
VP Software Architecture
Business Intelligence Force (bi4ce)
 
The difference between the Debug and Release versions, beside the
ability to modify the configuration parameters for each, is the
inclusion of the pdb file when the application is compiled. The pdb is
essentially a resource file that maps the line numbers, class names and
additional source information into the error. When you throw an
exception in debug mode, the Exception.ToString will contain only
pointer information and runtime information - but no direct reference
to specific line numbers. In Debug compilation - this material is
available to the runtime - and the Exception will have that info.

Kevin M. Schreiner
VP Software Architecture
Business Intelligence Force (bi4ce)
 
Thanks to all who replied - more reading to do!!
__

Tym

All this technology and it still takes forever to get anywhere.
 
Back
Top