• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

JavaScript debugging in IE - simple question

 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After a 6-week battle with our "security" people, I finally got IE unlocked (somewhat) so I can change settings under Tools / Internet Options / Advanced. (Yes, we are required to use IE, and we are prohibited from installing any other browsers.)

The problem is that I don't think JavaScript debugging is working correctly, but I've never used it before, so I really can't be sure what to expect. I've unchecked...
  • Disable Script Debugging (Internet Explorer)
  • Disable Script Debugging (Other)
  • Display a notification about every script error
  • This seemed to work fine for about 10 minutes this morning -- displaying line numbers and brief descriptions of errors -- but now it does nothing.

    So my simple question is: If I insert completely bogus method calls, like "noSuchMethod()" or "abc.def(ghi)" these should show as errors with debugging, right? I get nothing. The page just loads.

    NOTE: Even though my IE is still locked down so I can't verify settings under Tools / Internet Options / Security, I know that JavaScript is enabled because most of the functions from this .js file are working correctly.
     
    author
    Posts: 15385
    6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    You probably want Display a notification about every script error checked.

    If you want to do real debugging, you need to either look into Firebug light
    or download the express version of Visual Studio http://msdn.microsoft.com/vstudio/express/downloads/default.aspx

    Eric
     
    Eric Pascarello
    author
    Posts: 15385
    6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Oh I forgot: http://www.getfirebug.com/lite.html

    Eric
     
    marc weber
    Sheriff
    Posts: 11343
    Mac Safari Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Originally posted by Eric Pascarello:
    You probably want Display a notification about every script error checked.

    If you want to do real debugging, you need to either look into Firebug light or download the express version of Visual Studio...


    Thanks, I do have "Display a notification about every script error" checked. (Not unchecked as I indicated above.)

    We cannot download/install any additional applications. (We definitely cannot install FireFox.)

    What's the easiest way to generate a notification -- just to see if IE's debugging is doing anything? Shouldn't the bogus method calls generate a notification?
    [ April 02, 2007: Message edited by: marc weber ]
     
    Marshal
    Posts: 67478
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    My version of IE6 does the same thing. After checking the "show notifications" checkbox, it will popup those annoying and usually unhelpful error dialogs for a few minutes, then stop until I uncheck, save, and recheck the setting.

    Oh joy.
     
    Ranch Hand
    Posts: 15304
    6
    Mac OS X IntelliJ IDE Chrome
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    JavaScript debugging in IE



    Oh, wait, April Fools is over.
     
    marc weber
    Sheriff
    Posts: 11343
    Mac Safari Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Originally posted by Bear Bibeault:
    My version of IE6 does the same thing. After checking the "show notifications" checkbox, it will popup those annoying and usually unhelpful error dialogs for a few minutes, then stop until I uncheck, save, and recheck the setting.

    Oh joy.


    Unbelievable, but that's it.

    Thanks!
     
    Bear Bibeault
    Marshal
    Posts: 67478
    173
    Mac Mac OS X IntelliJ IDE jQuery Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Take a pair of pliers and grab the septum between your nostrils. Twist vigorously. That's how much fun it is to deal with IE.

    And IE7 is no better. They're still woefully uncompliant with standards and just introduced a whole slew of new bugs in addition to the ones we already knew about in IE6.

    What the hell were they doing for all those years?
     
    marc weber
    Sheriff
    Posts: 11343
    Mac Safari Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Originally posted by Bear Bibeault:
    Take a pair of pliers and grab the septum between your nostrils. Twist vigorously. That's how much fun it is to deal with IE...


    Seriously, it's insane.

    I've been working here long enough so I (usually) don't feel the pliers anymore, but I might be about to lose it mentally. All of this "MS security"... It's demented. Nothing works.
     
    marc weber
    Sheriff
    Posts: 11343
    Mac Safari Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Originally posted by Gregg Bolinger:
    JavaScript debugging in IE



    Oh, wait, April Fools is over.


    They may as well just display a generic messagebox that says nothing more than, "Try again." That's about how helpful the messages are.
     
    Eric Pascarello
    author
    Posts: 15385
    6
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I do not understand companies that limit developers to what they can install!

    It is like telling a baseball player to go to the plate with a toothpick for a bat.

    Marc, if you can use a thumb drive, you can install firefox on it!

    Eric
     
    marc weber
    Sheriff
    Posts: 11343
    Mac Safari Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Originally posted by Eric Pascarello:
    I do not understand companies that limit developers to what they can install! ...


    I'm afraid this company served as the inspiration for Dilbert's Mordac, the IS director who "believes his mission is to make it as difficult as possible for employees to use their computers or the network."
     
    Willie Smits can speak 40 languages. This tiny ad can speak only one:
    the value of filler advertising in 2020
    https://coderanch.com/t/730886/filler-advertising
    reply
      Bookmark Topic Watch Topic
    • New Topic