0

This might be a silly question, but I can't find out how to do this without placing breakpoints everywhere.

Ideally what I want to do is put one breakpoint at the beginning of a function, then when it breaks, press a short-cut key to the next line, then the next, and so on. But every time I do this, it skips a million lines until it meets the next breakpoint.

How do I avoid this? Am I missing something?

GIVE-ME-CHICKEN
  • 1,239
  • 3
  • 15
  • 29
  • `press a short-cut key to the next line` Which short-cut keys? have you gone through [How can I debug my JavaScript code?](http://stackoverflow.com/questions/988363/how-can-i-debug-my-javascript-code) – Satpal Jun 16 '14 at 11:46
  • `F10` makes it move 1 step forward but doesn't enter functions. `F11` enters the next function. `shift + F11` skips the next function – Laurent S. Jun 16 '14 at 11:51

1 Answers1

2

What you're missing is F10 and F11 :

enter image description here

Note that it doesn't always work very well when you're iterating over minified javascript rebuilt using source maps.

Complete documentation

Denys Séguret
  • 372,613
  • 87
  • 782
  • 758