The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

How the hell can you debug Javascript in Safari?

apotheosapotheos Registered User, ClubPA regular
edited April 2007 in Help / Advice Forum
I don't mean turn on the console. I can do that.

But I've got a page that works in IE7,Firefox,Opera - its awesome! I'm so happy! But it doesn't work in Safari 2. It really doesn't work in Safari 2 as in behaviour is unexpected and no errors occur. That is like the worst kind of hell.

Can anyone recommend any way to find out more of what Safari thinks its doing with my god damn DOM? I can find no plugins or cool tidbits because, putting my Mac zealotry to the side, who gives a shit about Safari?

Interested parties can PM me if they want to see the page but I can't post it publicly.



猿も木から落ちる
apotheos on

Posts

  • powersspowerss Registered User regular
    edited April 2007
    Do you have the Safari Debug Menu enabled?

    powerss on
  • apotheosapotheos Registered User, ClubPA regular
    edited April 2007
    powerss wrote: »
    Do you have the Safari Debug Menu enabled?


    Yes. That I have done. But like I said - no errors. Just unexpected behavior.

    apotheos on


    猿も木から落ちる
  • BarrakkethBarrakketh Registered User regular
    edited April 2007
    The WebKit nightly builds have a debugger called Drosera. You can read about it enabling it here.

    Barrakketh on
    Rollers are red, chargers are blue....omae wa mou shindeiru
  • apotheosapotheos Registered User, ClubPA regular
    edited April 2007
    Oh boy. This looks like it will be fun.

    apotheos on


    猿も木から落ちる
  • BarrakkethBarrakketh Registered User regular
    edited April 2007
    apotheos wrote: »
    Oh boy. This looks like it will be fun.

    I don't use a Mac, but it looks a tad similar to Venkman (a debugger for Gecko) so I imagine it should be somewhat useful.

    I'm not sure whether or not there's a debugger available for them, but I imagine that the page you're having problems with will do the same thing under KHTML/KJS (Konqueror) since WebKit relies on code from both of those projects.

    Barrakketh on
    Rollers are red, chargers are blue....omae wa mou shindeiru
  • apotheosapotheos Registered User, ClubPA regular
    edited April 2007
    Neat

    It works in the WebKit built.

    I'll attach it to Safari release tomorrow and see what I come up with. I can't imagine why it would work in one and not the other.

    apotheos on


    猿も木から落ちる
Sign In or Register to comment.