Thursday, April 21, 2011

How to step through code in Google chrome javascript debugger

hi guys,

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 fucntion keys .....F5 causes the whole window to refesh....

typing next in console window does nothing.....

please help me guys....plus the debugger is very slow to further add salt to the wounds...

From stackoverflow
  • Use the pause, step over, step into, step out buttons at the right end of the inspector, below the search field and above the watch/call stack section.

  • I recommend you to degub with FireBug. It's the absolutely best tool for it.

    I have Chrome version 4.0.221.6, and there i got a button list where i can step in / step through: alt text

    so maybe you need to update your Chrome version?

    Mike Bethany : He said he was working with Google Chrome, not FireFox.
    k0ni : learn to read, kthxbye
  • 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.

    Pankaj Kumar : thanks for the keys

0 comments:

Post a Comment