Hacker News new | ask | show | jobs
by thebear 4527 days ago
I would be interested to know what the OP thinks about stepping through code as opposed to reading it. To me, reading code and stepping through it in a debugger are two complimentary ways of understanding it. I call those the static and the dynamic way of viewing code.
1 comments

Interesting. Does something exist where I can visually trace through how my javascript code is being executed? It would be wonderful to have a visual representation.
Most browsers have a "Development Tools" option that provides a number of tools including a step-through debugger similar to those in XCode/Eclipse/Visual Studio.

I personally use the development tools in Safari most of the time.

Really? Why Safari in particular?
I tend to use Safari (on Mac OS) as my go to browser, so the simplest answer is probably familiarity as corresponding functionality exists in Chrome and Firefox which I've had no problems using when needed. That said, IE is not so good.

I think Chrome and/or Firefox provide more support for live editing of the current web page, however I've never made much use of that functionality.