473,396 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

debug/release

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.
Nov 21 '05 #1
5 1274
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" <no*@any.time> wrote in message
news:3v********************************@4ax.com...
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.

Nov 21 '05 #2
"Tym" <no*@any.time> schrieb:
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
<URL:http://msdn.microsoft.com/library/en-us/vsdebug/html/vc_Debugging_Your_Application_home_page.asp>
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/en-us/vbcon/html/vboriinstrumentationtechniquesdebugtracefornetfram ework.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
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)

Nov 21 '05 #4
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)

Nov 21 '05 #5
Tym
Thanks to all who replied - more reading to do!!
__

Tym

All this technology and it still takes forever to get anywhere.
Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Srinivasa Rao | last post by:
I have read in one article that when we compile the application in release mode, all the debug classes and properties will be automatically removed from the code. I tried to implement this thing by...
9
by: dee | last post by:
Hi I'm about to upload my site and I have switched to release version. Is that enough or do I still need to disable <compilation defaultLanguage="vb" debug="true" /> the debug="true" in the .pdb...
3
by: | last post by:
Since I need to dotfuscate my exe file anyway, does it make any difference if I use Debug or Release versions. Would a Debug version be easier to decompile/study/reverse engineer than a Release...
1
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project...
2
by: Epetruk | last post by:
Hello, I have a problem where an application I am working on throws an OutOfMemoryException when I run it in Release mode, whereas it doesn't do this when I am running in Debug. The...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
3
by: Bob Johnson | last post by:
It is my understanding - and please correct me if I'm wrong - that when building a project in debug mode, I can deploy the .pdb file along with the ..exe and thereby have access to the specific...
3
by: TBass | last post by:
Hello, Is there a way to get Visual Studio 2003 look to one directory for debug version dlls when set to DEBUG and then to another directory where I store the release version of a dll when set...
2
by: Dave Johansen | last post by:
I just converted a solution from Visual Studio 2003 to Visual Studio 2005 and the Debug mode seems to be running just fine, but the Release mode crashes on the following code: std::ifstream...
3
by: =?Utf-8?B?bG10dGFn?= | last post by:
We have developed a number of different applications (ASP.NET web site, Windows services, DLLs, Windows forms, etc.) in C# 2.0. We have developed and unit tested all these applications/components...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.