Live data from Hacker News

Debugging Asynchronous JavaScript with Chrome DevTools

html5rocks.com

31–40 of 50 posts

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#31
post #5

Now if only they could make a standalone IDE backed by chrome dev tools! Then I could use it for Node too :D

GitHub's Atom ( though its an editor, not IDE ) is backed by chrome dev tools I think.

Atom's walking a thin line between editor and IDE, to be honest; it definitely has the base layer (= plugin support) to become the next Eclipse.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#32
post #23

Earlier quoted context omitted.

Well, HN itself is a poll.

True. The frontend/js focus is a tad disappointing considering how many other technologies are involved in ramping up/running most companies.

But one could argue that the front-end is one of the most important factors of said companies.

Anyway. HN is a voting system, if people like front-end topics they will upvote it.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#33
post #23

Earlier quoted context omitted.

Well, HN itself is a poll.

True. The frontend/js focus is a tad disappointing considering how many other technologies are involved in ramping up/running most companies.

So, submit articles for those technologies? I'd wager that most of the people who use those technologies no longer find HN to be a useful source of news; I've noticed that a lot of coworkers are disdainful of HN now.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#34
post #6

Very nicely produced article, i love the use of animated gifs that is becoming popular for tech demos.

I think it's odd, to be honest, given the existence of the html5 video tag. Of course, last time I checked, there wasn't a standardized video codec yet, which would make it tl;dr for authors.

gifs have the advantage of working on lower-resource devices (cellphones, netbooks) without any delay.

youtube and other "feature-rich" sites work only with massive stuttering for me, so I'm happy for any gif instead of a video which needs to be set up and torn down for every play.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#35

Would anyone know how to achieve this type of animation on the screenshots? Love it!

I have used http://www.cockos.com/licecap/ to achieve this.

I have been looking for something like this for OS-X. This is excellent.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#36
post #14

Wow, this is seriously cool! No doubt it will mean more switching back and for between Firebug and Chrome DevTools. Or am I the last one still using Firebug?

I use Firebug too, mostly because you can see in-progress AJAX requests in the console.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#37
post #14

Wow, this is seriously cool! No doubt it will mean more switching back and for between Firebug and Chrome DevTools. Or am I the last one still using Firebug?

I still prefer Firebug; you're not alone! It's annoying to see more of the web go Webkit only, though. Reminiscent of IE.

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#38

Willing to take the rep hit... Is HN really so focused on front end that this particular topic finds itself rapidly at the top of news feed and staying there for an extended amount of time? Has there been a recent poll about topics active HN viewers deem as important? If it really is this JS heavy, that is intriguing.

I think the core idea here is beyond the javascript it's implemented in. I've never seen a debugger that can do this kind of async debugging before anywhere. Don't you think it's more novel than being some trick only relevant to front end web development work?

At the ScalaX conference last year, someone demoed the Scala plugin for Eclipse debugging actor messages asynchronously, so you can breakpoint on receiving a message, then see the callstack that generated that message on a different actor, and in fact follow back through all the messages leading up to that. Very cool, though I haven't tried it in production yet (I'm currently using IntelliJ for Scala)

Re: Debugging Asynchronous JavaScript with Chrome DevTools

#40

Earlier quoted context omitted.

I have used http://www.cockos.com/licecap/ to achieve this.

I have been looking for something like this for OS-X. This is excellent.

Thanks for sharing. Just tried it out, and looks great.
Post reply on HN