Debug Vs Release Mode

  • Thread starter Thread starter c_shah
  • Start date Start date
C

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.
 
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!
*************************************************
 
Back
Top