问题是我有一个巨大的 Javascript 代码,它被分解成许多文件。
而且我似乎找不到特定的 javascript 代码在哪里。
如果你处在我的位置,你会如何寻找?
我安装了 firebug lite 但不知道如何使用它。谢谢。
附言出于某种原因,我无法对 SO 发表评论。对不起。
最佳答案
查看 this链接,特别是这些标题:
Find scripts easily
Many web applications are comprised of quite a number of files, and finding the one you want to debug can be a chore. Firebug's script file chooser sorts and organizes files into very clean list that will help you find any file in a snap.
Go directly to line 108, do not pass go
Often times you want to jump directly to a specific line of your script. Doing this couldn't be easier, just type the line number into the quick search box, preceded by the pound sign, as seen in the screen shot on the right.
查找脚本:搜索脚本:
关于javascript - 如何在我的代码中找到特定的 Javascript,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6080268/