Under ASP.NET, is there any variable to determine debug or runtime mode?

  • Thread starter Thread starter Ben Amada
  • Start date Start date
B

Ben Amada

ABC,

It appears that you successfully changed your computer's time zone setting
to +0800 (HK time), but now you need to change the system time on your
computer -- you're still posting in the future.

Thanks,
Ben
 
Actually, your system time might be correct -- it's just the date that is
incorrect (you're 1 day ahead of the rest of us).

Ben
 
Just get back up that church tower and attach the lightning rod to the Flux
Capacitor.

That should do it !!

;-D
 
Mr said:
Just get back up that church tower and attach the lightning rod to the
Flux Capacitor.

That should do it !!

;-D

lol ... that is 'heavy' doc!

Looking at a recent post by ABC in his other thread, it appears he corrected
the system date on his computer - whew!

Ben
 
That depends on what you are trying to accomplish. Please elaborate
 
Here's what I have been doing:

bool isDebug;

#if (DEBUG) isDebug = true;
 
You can use Debugger.IsAttached to determine if the site is running within
the debugger. This is in the System.Diagnostics namespace.

Jeff
 
Under ASP.NET, is there any variable to determine debug or runtime mode?
 

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