How to set to breakpoint in the start of a function?
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!
精彩评论