Loading ...
Sorry, an error occurred while loading the content.

Re: Prolem with errors not showing up

Expand Messages
  • mathew.rowley
    THANK YOU! ... function ... Thus, if ... Break on All ... Options
    Message 1 of 5 , Mar 5, 2008
    • 0 Attachment
      THANK YOU!

      --- In ydn-javascript@yahoogroups.com, "Satyam" <satyam@...> wrote:
      >
      > Sometimes your code is within a try - catch block so the usual error
      > handling is disabled. For example, the Event.fire method calls the
      function
      > within a try - catch block that simply saves the error for later.
      Thus, if
      > your code is within an event listener, errors will not pop up.
      >
      > If you are running Firefox with Firebug, then you can activate
      "Break on All
      > Errors" and the error will be caught before it gets to the enclosing
      > try -catch block. In the Script tab, it is the only option in the
      Options
      > dropdown.
      >
      > Satyam
      >
      > ----- Original Message -----
      > From: "mathew.rowley" <mathew.rowley@...>
      > To: <ydn-javascript@yahoogroups.com>
      > Sent: Tuesday, March 04, 2008 11:47 PM
      > Subject: [ydn-javascript] Prolem with errors not showing up
      >
      >
      > >I am having issues with JS errors not showing up (specifically in
      > > firebug)... For example,
      > >
      > > This:
      > >
      > > YAHOO.util.Dom.setStyle(YAHOO.util.Dom.get(ListMgmt.dialog.addButton),
      > > "float", "right");
      > >
      > > Does not show any errors, but if change it to
      > >
      > > YAHOO.util.Dom.setStyle(YAHOO.util.Dom.get(ListMgmt.dialog.addButton),
      > > "float", "right");
      > > alert("Test");
      > >
      > > The alert will not show, and no errors will show - I know there is an
      > > error somewhere because the code stops...
      > >
      > > Is there a reason why errors are not showing? Thanks.
      > >
      > >
      > >
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > > --
      > > No virus found in this incoming message.
      > > Checked by AVG Free Edition.
      > > Version: 7.5.516 / Virus Database: 269.21.4/1312 - Release Date:
      > > 04/03/2008 21:46
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.