June 2002
Intermediate to advanced
816 pages
28h 12m
English
IsDebuggingEnabled
Boolean = Context.IsDebuggingEnabled
Returns a Boolean value specifying whether debugging is enabled for the current request.
Boolean
A Boolean variable to receive value of this flag.
The example displays True if debugging enabled;
otherwise, it displays False:
Sub Page_Load( )
Message.Text = "Debugging Enabled?" & _
Context.IsDebuggingEnabled
End SubThis flag is controlled by the compilation section
in web.config. If the
compilation section’s
debug attribute is set to True,
IsDebuggingEnabled returns True. If the
debug attribute in the compilation section is set
to False, this property is
False.
Read now
Unlock full access