?
Solved

Need help using MS Script Editor debugging feature

Posted on 2005-05-12
6
Medium Priority
?
277 Views
Last Modified: 2013-12-25
Would anyone please give me some pointers on how to use MS Script Editor's debugging feature?  I have an error in my code, but all I can see is a little message at the far left corner of IE, that says, "Error on page."  Surely there is a way to find out what line the error is on?  I have poked around in the Debug menu items within MS Script Editor but nothing I have clicked on has really made any sense to me.

I will greatly appreciate any help you can provide.

Thank you!
JA67
0
Comment
Question by:JA67
  • 3
  • 3
6 Comments
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 13999013
It is just a browser setting.  Tools;; select internet options;; advanced tab;; then in the list of chckboxes check he one that says:

"Display a notification of every script error"

Cd&
0
 

Author Comment

by:JA67
ID: 13999137

Thank you! When I do that, I do get an "Internet Explorer" pop up message that denotes errors. I actually found this out last night, but I noticed that none of the errors that this pop up denotes are correct. It gives errors for line numbers that do not appear to have the problem suggested. Not once has it given me what appears an accurate message. I just now went into my code, which is working perfectly, and I purposely created an error condition to see if the IE pop up message would find it. It gave me an error but it was not correct and it also wasn't anywhere near where I created the error. Have you experienced this kind of thing?

What do you suggest for how I can get accurate references to line numbers when there is an error?

I was wanting to use MS Script Editor's debug functionality but I can't seem to get it to work. I downloaded the debugger but it does not seem to work like I expected.

Thank you!
JA67
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 13999561
I avoid development tools at all cost because I have not found one of them yet that does not screw up the code. I have never had a need for anything other than a text editor, though I will occassionaly play around with Mozilla composer.

As for why the errors are not what you expected, it is probably because the tool is putting a lot of trash in the page.  If you post a link, I will take a quick look to see if there is anything that sticks out.

Cd&
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:JA67
ID: 13999893

I see. I want to be good enough to not need the help of an editor as well.  And maybe the best way for me to do get there is to not use the editor...

I fixed the error since the time I posted this question, so I won't have to bother you with the code. You have been very helpful though, and I really appreciate your time. Thank you!

JA67
0
 

Author Comment

by:JA67
ID: 14000295
What I meant to say, is maybe I shouldn't use "development tools" either... And what's kind of funny, is that if you read my previous response, while realizing that you are called the "Page Editor," then my response sounds sarcastic. But that's not what I meant either... LOL. I can definitely use the help of you experts from time to time. Heck -- all the time! This service is the best thing that ever happened to my career. I am learning so much! Thank you experts!

JA67
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 14000369
If you want to get really good at it the only thing that will limit you is you. The only way to find out what the limit is is to open yourself up to learning and criticism;  and don't be afraid to try anything.

For those who want to learn, there is a place here at EE.  The CSS topic has become very much a learning center.  The criticism is sometime harsh.  And the experts are not real gentle sometime but it is a place to visit when you ar looking to raise your game.

Thanks for the A.  :^)

Cd&
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question