Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to go to the current breakpoint in Chrome console

I keep finding a scenario where my code stops on a breakpoint in Chrome's debugger, then when I use another tab like "Console", and go back to "Sources", I have lost the place where the code stopped, and I have to click singles-step to get "back on track", but this skips past the sought after breakpoint. Is there some way to get to where the debugger has stopped?

like image 536
ProfK Avatar asked Jun 03 '15 13:06

ProfK


1 Answers

You can use the call stack portion to go to the current location the debugger is stopped at by clicking the top item in the call stack.

As the original writer couldn't submit an image due to his low reputation and the ongoing rules of the site, i will glady provide one for all of us!

enter image description here

like image 63
Luke Pfeiffer Avatar answered Sep 20 '22 19:09

Luke Pfeiffer