Home All Groups Group Topic Archive Search About

asp.net: how do I detect if debug mode is true or false ?

Author
28 Jul 2006 12:28 PM
zolof
I which to detect in my code if compilation has debug enabled ?
I would different behaviours according to the compilation type.

Author
28 Jul 2006 1:55 PM
Shahzad Godil
You can check using code like

#If Debug = False Then
            Me.Text = ""
#End If)

Shahzad Godil
Karachi-Pakistan

Show quote
"zolof" <zo***@discussions.microsoft.com> wrote in message
news:6A6CE151-D801-4BE7-BAB4-5D7A05BD6B8F@microsoft.com...
>I which to detect in my code if compilation has debug enabled ?
> I would different behaviours according to the compilation type.

AddThis Social Bookmark Button