Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to step through code in Google chrome javascript debugger

I am really getting frustrated with Google Chrome... I have version 3.0.195.27 and want to debug some JavaScript that is working in IE, FF but not in Chrome.

When I open the debugger and mark breakpoints (the blue arrow thingy) and execute the JavaScript it hits the breakpoint and then I do not know how to step through code....I tried all function keys .....F5 causes the whole window to refresh....

Typing next in console window does nothing.....

Plus the debugger is very slow to further add salt to the wounds...

like image 337
Pankaj Kumar Avatar asked Oct 16 '09 06:10

Pankaj Kumar


1 Answers

I'm on Chrome 3.0.195.27, and I'm able to use the following keys:

  • F8 -> Run

  • F10 -> Step over

  • F11 -> Step into

Make sure you have focus on the JavaScript console.

like image 171
Christian C. Salvadó Avatar answered Oct 09 '22 04:10

Christian C. Salvadó