Debug Vs Release Mode

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.
 
C

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!
*************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top