如何在Google Chrome JavaScript调试器中逐步通过代码 [英] How to step through code in Google chrome javascript debugger

查看:188
本文介绍了如何在Google Chrome JavaScript调试器中逐步通过代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的很沮丧的谷歌浏览器...我有版本3.0.195.27,并想调试一些JavaScript在IE,FF,但不是在Chrome。



当我打开调试器并标记断点(蓝色箭头thingy)并执行JavaScript时,它会触发断点和,然后我不知道如何逐步执行代码 ....我尝试所有功能键..... F5导致整个窗口刷新....



在控制台窗口中键入下一步没有任何.....



加上调试器进一步添加盐到伤口很慢...

解决方案

我建议你用FireBug进行调试。这是绝对最好的工具。



我有Chrome版本4.0.221.6,我有一个按钮列表,我可以进入/逐步通过



所以也许你需要更新你的Chrome版本?


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...

解决方案

I recommend you to debug with FireBug. It is 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

so maybe you need to update your Chrome version?

这篇关于如何在Google Chrome JavaScript调试器中逐步通过代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆