Link to home
Start Free TrialLog in
Avatar of JA67
JA67

asked on

Need help using MS Script Editor debugging feature

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
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

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&
Avatar of JA67
JA67

ASKER


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
ASKER CERTIFIED SOLUTION
Avatar of COBOLdinosaur
COBOLdinosaur
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JA67

ASKER


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
Avatar of JA67

ASKER

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
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&