Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Move control to different line in Chrome Debugger Tools

While debugging in JavaScript line in chrome developer tools, how can I move the control back to a few lines above?

like image 771
IsmailS Avatar asked Nov 25 '11 10:11

IsmailS


Video Answer


1 Answers

One workaround that may fit your needs (if the code doesn't have a lot of side effects) is to set a breakpoint on the desired line and make a small yet meaningful change to your current function using LiveEdit. This way, the affected call frame(s) will be discarded from the call stack and the respective functions re-invoked, breaking at the necessary line.

like image 129
Alexander Pavlov Avatar answered Oct 19 '22 06:10

Alexander Pavlov