jackjohnson44
asked on
javascript debugger
I have some code that works with firefox, but not ie
I have the ms script debugger, but it comes up and won't display anything, it looks like it is having trouble opening.
Any suggestions? It needs to be some sort of ie debugger since that is the only browser I have trouble with.
I have the ms script debugger, but it comes up and won't display anything, it looks like it is having trouble opening.
Any suggestions? It needs to be some sort of ie debugger since that is the only browser I have trouble with.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks, is there any way to figure out what line number something is?
I know the javascript line errors that ie used to give didn't really correspond to anything good.
Would you suggest just viewing the source in a text editor and using their line numbers?
I know the javascript line errors that ie used to give didn't really correspond to anything good.
Would you suggest just viewing the source in a text editor and using their line numbers?
It uses the line numbering from the entire file. What are you editing the file with?
ASKER
usually edit plus
It is mostly php, so my line numbers don't match with the html line numbers in any way.
It is mostly php, so my line numbers don't match with the html line numbers in any way.
:),
Same here with PHP. Looking at where the errors are on the generated page will provide clues as to where they are in your PHP code. I use Eclipse with the PHP addon. Pretty good with highlighting and more. It also is good for debugging as most errors are shown as such in code.
Same here with PHP. Looking at where the errors are on the generated page will provide clues as to where they are in your PHP code. I use Eclipse with the PHP addon. Pretty good with highlighting and more. It also is good for debugging as most errors are shown as such in code.
ASKER
I have never heard of that, is it something I should use?
I pretty much hand code from scratch, I don't use any sort of generator at all.
Edit plus pretty much only highlights syntax, it is a way better version of notepad.
It doesn't really do too much other than that though.
I pretty much hand code from scratch, I don't use any sort of generator at all.
Edit plus pretty much only highlights syntax, it is a way better version of notepad.
It doesn't really do too much other than that though.
PHP Eclipse does have intellisense. Eclipse is the most widely used editor around for Java, HTML, and perhaps soon PHP. www.eclipse.org
It is a hand coder. Although it is almost a full IDE, it isn't a WYSIWYG editor. I like it because as soon as I save, I can see the results in the browser on the IDE. So correcting errors goes by very fast. Before that I used PHP Designer 2005. Also freeware, it is pretty good too, but has some quircks. Overall, I think that Eclipse is better than all. I haven't used ZEND, but I hear complaints about it. Most of those are that it is a Java app, but so is Eclipse :)
It is a hand coder. Although it is almost a full IDE, it isn't a WYSIWYG editor. I like it because as soon as I save, I can see the results in the browser on the IDE. So correcting errors goes by very fast. Before that I used PHP Designer 2005. Also freeware, it is pretty good too, but has some quircks. Overall, I think that Eclipse is better than all. I haven't used ZEND, but I hear complaints about it. Most of those are that it is a Java app, but so is Eclipse :)
ASKER
thanks
Tim