assembly mode

  • Thread starter Thread starter Saso Zagoranski
  • Start date Start date
S

Saso Zagoranski

Hi!

I was wondering whether an assembly can "know" whether it is compiled in
debug or release mode?
So I could write something like:

if ( assemblyInDebug )
{
...
}

thanks,
saso
 
use #if(DEBUG)
#end if

that tells you if your in debug mode or not.
make sure DEBUG is set to true in debug mode in the project settings.
 

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

Back
Top