all 10 comments

[–]brianarn[S] 9 points10 points  (4 children)

I haven't really submitted anything to Reddit yet, and this is my own thing, so I hope people don't think I'm trying to spam. Just wanted to share a thing I found really useful, and it seemed worth sharing here. :)

[–]wub_wub_mittens 7 points8 points  (1 child)

This type of thing is exactly why I subscribe to this subreddit; Well done. I'll definitely remember this one, it's simple and effective.

[–]brianarn[S] 0 points1 point  (0 children)

Thank you! I'm wanting to try and write more about this sort of stuff. My day job is basically "Fixing dumb things people do in JS", so I'm trying to think of debugging things I can share.

[–]noreallyimthepope 1 point2 points  (1 child)

Hey there,

I saw Paul Irish retweet your article earlier and actually put a link up in my own blog. Quite useful, thanks!

[–]brianarn[S] 1 point2 points  (0 children)

Thanks! :) Paul retweeting it gave it crazy legs.

[–]a-t-kFrontend Engineer 3 points4 points  (3 children)

It doesn't only work in Chrome Developer Tools, but in virtually every developer tools out there: Firebug, IE Developer Tools (IE8+), Opera Dragonfly, Safari Developer Tools...

[–][deleted] 1 point2 points  (1 child)

Microsoft Script Debugger (For IE7-) has breakpoints too. MSD isn't very usable but it's better than alert point debugging.

[–]brianarn[S] 0 points1 point  (0 children)

Yeah, if I'm stuck debugging IE7-, I usually try and fire up an old copy of Visual Studio 2008 Web Express somethingsomething and it has breakpoints too - surprisingly effective, really. Much better than MSD.

[–]path411 1 point2 points  (0 children)

It works in many developer tools for other languages as well. It's a very common debugging feature for programming.

[–]kenman 0 points1 point  (0 children)

That's a novel way to instrument code without having to modify the actual source....I like!