Home All Groups Group Topic Archive Search About

Debug Vs Release Mode

Author
6 May 2006 11:39 AM
c_shah
I am a SQL DBA just started to learn Visual Basic 2005 so I apologize
for this very simple question.

What's the  fundamental difference between debug mode vs release mode.

I am using Visual Basic Express edition when I build my project it is
creating two directories inside bin, debug and release.

So far I come to know that in the release mode all the debugging
information is removed
(Debug.writeline etc.)  What performance difference that will make?

I also noticed that there is a .pdb file (Program debug database)
created when you build your project. what is the .pdb file?

Thanks in advance.

Author
6 May 2006 2:24 PM
Cowboy (Gregory A. Beamer)
Debug includes the PDB for debugging. It is also unoptomized. Release is
optimized and contains no debug info.

PDB is a "database" of pointers to source code and enables debugging by
linking instructions to source code. WIthout it, you cannot debug.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
Show quoteHide quote
"c_shah" <shah.chi***@netzero.net> wrote in message
news:1146915551.841339.12270@i39g2000cwa.googlegroups.com...
>I am a SQL DBA just started to learn Visual Basic 2005 so I apologize
> for this very simple question.
>
> What's the  fundamental difference between debug mode vs release mode.
>
> I am using Visual Basic Express edition when I build my project it is
> creating two directories inside bin, debug and release.
>
> So far I come to know that in the release mode all the debugging
> information is removed
> (Debug.writeline etc.)  What performance difference that will make?
>
> I also noticed that there is a .pdb file (Program debug database)
> created when you build your project. what is the .pdb file?
>
> Thanks in advance.
>