473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

ABC
Under ASP.NET, is there any variable to determine debug or runtime mode?
Nov 19 '05 #1
8 1227
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
Nov 19 '05 #2
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
Nov 19 '05 #3
Just get back up that church tower and attach the lightning rod to the Flux
Capacitor.

That should do it !!

;-D

--
Best Regards

The Inimitable Mr Newbie º¿º

--------------------------------------------------------------------------

"Ben Amada" <be*@REpoMOweVErpick.com> wrote in message
news:OX**************@TK2MSFTNGP14.phx.gbl...
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

Nov 19 '05 #4
Mr Newbie wrote:
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
Nov 19 '05 #5
That depends on what you are trying to accomplish. Please elaborate

--------------------------------------------------------------------------------
All that glitters has a high refractive index.
www.mendhak.com
"ABC" <ab*@abc.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Under ASP.NET, is there any variable to determine debug or runtime mode?

Nov 19 '05 #6
Here's what I have been doing:

bool isDebug;

#if (DEBUG) isDebug = true;
--
Jay Douglas
http://www.jaydouglas.com
"ABC" <ab*@abc.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Under ASP.NET, is there any variable to determine debug or runtime mode?

Nov 19 '05 #7
You can use Debugger.IsAttached to determine if the site is running within
the debugger. This is in the System.Diagnostics namespace.

Jeff
"Jay Douglas" <ja****************@jaydouglas.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Here's what I have been doing:

bool isDebug;

#if (DEBUG) isDebug = true;
--
Jay Douglas
http://www.jaydouglas.com
"ABC" <ab*@abc.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Under ASP.NET, is there any variable to determine debug or runtime mode?


Nov 19 '05 #8
ASP.NET 2.0 has new and unique capabilites which supports attributes and
meta data in the code only when the debug preprocessor directive is used
very coolski.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"ABC" <ab*@abc.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
Under ASP.NET, is there any variable to determine debug or runtime mode?

Nov 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Larryd | last post by:
I am new at php/mysql. I am having trouble with looping. What Im trying to do is have multiple part numbers under 1 variable. If i just put $pnum = thepartnumber and echo $fprice, it will take the...
2
by: RWC | last post by:
Hello, I have a problem. I recently uninstalled office 97 and re-installed it. When I went to open Access up, it would only open in RUntime mode. I uninstalled all runtime software from my...
4
by: Claire | last post by:
How do I determine whether Im running in debug or release mode from code please. thanks Claire
2
by: Scott Yost | last post by:
I reference a .NET DLL to import some of my custom types. I can build that DLL in debug or release mode, but I usually keep the debug one built so I can debug it. When I want to link to the release...
1
by: astroboy | last post by:
How do UserControl know it is in design mode or runtime mode?
1
by: linda.s | last post by:
Is there any detailed debug tutorial for Pythonwin?
2
by: Chuck P | last post by:
How can you determine if you are in debug mode in Asp.net 2.0 I thought I could look at the web.config compilation debug directive but then I read this...
4
by: Tom Leylan | last post by:
Hi all, and to Cor, Herfried and the other "old folks", it's been a long time :-) I might be hanging around again for awhile but in the meantime I have a question. Does anybody know of a way to...
3
by: Pekboy | last post by:
I'm having problem opening a .accdr file from a developer package installation. All I get is a blank Access window. This Runtime mode issue is happening both in my development machine with the Full...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.