473,395 Members | 1,454 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,395 software developers and data experts.

How to find errors in code?

I'm coding in classic asp and can't figure how to get IE6 to display some
kind of descriptive message about code errors? I have the correct settings
under ADVANCED in IE's options selected.

What bugs me is sometimes IE will report the line number and a message, and
then other times it's the standard "The page can't be displayed."

When you have hundreds of lines of code, how can you fight this?
Jul 22 '05 #1
3 1186
Scott wrote:
I'm coding in classic asp and can't figure how to get IE6 to display some
kind of descriptive message about code errors? I have the correct settings
under ADVANCED in IE's options selected.

What bugs me is sometimes IE will report the line number and a message, and
then other times it's the standard "The page can't be displayed."

When you have hundreds of lines of code, how can you fight this?


make sure IE is set to show them as well, beyond that look at things
like OPTION EXPLICIT. Check out www.aspfaq.com for hints but in general
its not all that easy... sadly....

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Jul 22 '05 #2
one way
http://powerasp.com/content/new/on-e...esume-next.asp
"Scott" <sb*****@mileslumber.com> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
I'm coding in classic asp and can't figure how to get IE6 to display some
kind of descriptive message about code errors? I have the correct settings
under ADVANCED in IE's options selected.

What bugs me is sometimes IE will report the line number and a message,
and then other times it's the standard "The page can't be displayed."

When you have hundreds of lines of code, how can you fight this?

Jul 22 '05 #3
On Mon, 27 Jun 2005 10:12:49 -0500, "Scott" <sb*****@mileslumber.com>
wrote:
I'm coding in classic asp and can't figure how to get IE6 to display some
kind of descriptive message about code errors? I have the correct settings
under ADVANCED in IE's options selected.

What bugs me is sometimes IE will report the line number and a message, and
then other times it's the standard "The page can't be displayed."

When you have hundreds of lines of code, how can you fight this?


Well, sometimes there isn't a line with an error. You can do
rudimentary error trapping, but testing discrete blocks of code is the
only way to track down some coding errors. Use liberal
Response.Writes to say "Got here in the code" as well.

Jeff
Jul 22 '05 #4

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

Similar topics

0
by: Amol Shambharkar | last post by:
Hello Everyone, I am hoping someone could help me out with this.I am using Visual Studio .NET 2003 to create a web application on a remote IIS 5.0 server using the File Share web access method.The...
11
by: Laiverd.COM | last post by:
Hi, In the following function I keep getting a 'Object expected at line 75 char 5' but for the life of me I cannot find the error. Maybe someone would be so kin to have a look? I indicated the...
108
by: Bryan Olson | last post by:
The Python slice type has one method 'indices', and reportedly: This method takes a single integer argument /length/ and computes information about the extended slice that the slice object would...
1
by: John A Grandy | last post by:
Visual Studio 2005 RC. I create my first ASP.NET 2.0 Web Site at c:\code\my-app , and when I attempt to compile I receive about 30 errors related to the compiler not being able to find schema...
0
by: dbuchanan | last post by:
Hello, Why can't my application recognize or find the data layer. These are the design-time and runtime errors I receive. \\ "One or more errors encountered while loading the designer. The...
17
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I find the size of a browser window?...
26
by: ak | last post by:
Recently at an interview i was asked the following question : Assuming the function lookupName is defined, what's wrong with this code (hint: 2 bugs)? const char *getName(const char *c) {...
6
by: WolfgangS | last post by:
Ok first off, i am a total beginner at this groups stuff and i have no clue how this works. This is probabaly the wrong group for my problem but i will post it anyways. Learning by doing right? ...
10
by: CodeNoob | last post by:
please help been working on a project got it down to 5 errors from 100 now i have no idea what to do. Errors: init: deps-jar: Created dir: C:\Users\Tommy\Desktop\build\classes Compiling 306...
4
by: =?Utf-8?B?VG9yZW4gVmFsb25l?= | last post by:
Was editing code, am getting the following errors } expected Type or namespace definition, or end-of-file expected Eyes crossed cannot find code below! using System; using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.