Debug option vs release ..

G

genc ymeri

Hi over there,
What is the difference between the debug option and release one when we run
our projects in VS ? Both of them produce a exe file.


thanks in advance.
 
N

Nicholas Paldino [.NET/C# MVP]

genc,

When you run with the debug option, it creates an assembly with debug
symbols in it, which are used for debugging. The release mode doesn't have
this, which is why in VS.NET, your breakpoints have a question mark in them
if you set the current configuration to release.

Hope this helps.
 
G

genc ymeri

Thanks a lot.

Nicholas Paldino said:
genc,

When you run with the debug option, it creates an assembly with debug
symbols in it, which are used for debugging. The release mode doesn't have
this, which is why in VS.NET, your breakpoints have a question mark in them
if you set the current configuration to release.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

genc ymeri said:
Hi over there,
What is the difference between the debug option and release one when we run
our projects in VS ? Both of them produce a exe file.


thanks in advance.
 

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