开发者

How to set to breakpoint in the start of a function?

开发者 https://www.devze.com 2023-02-22 11:00 出处:网络
How to set to breakpoint in the start of a function given that I know only function name but don\'t know the file in which it is there?

How to set to breakpoint in the start of a function given that I know only function name but don't know the file in which it is there?

If I know the file and line 开发者_StackOverflow中文版number then I can simply go there and set the breakpoint. I've searched in internet but could not get the answer.


I'm not sure but try : debug(function) to set in breakpoint in a function. You can find the function within .js files here: Trying to locate function in JavaScript files using Firebug


I suggest you get the Web Developer Extension to go along with FireBug. Install it, then go to Web Developer -> Information -> View Javascript. It will open a new tab, displaying all the javascript files (inline and included) on a single page. Happy searching!

0

精彩评论

暂无评论...
验证码 换一张
取 消