this is not simply searching for "function xxx" or "xxx: function" and "obj.xxx = function" in the code. In fact, I can now enter keywords in Chrome to search all js, but the search results are too many to see, and the possible breakpoints that I can pay attention to don"t stop. It"s too strange that I really can"t find where it is called or declared, and which file line number is the function body in the end
sometimes this search doesn"t work very well, and now there are a variety of JS compilation results, so I want to be able to find the line number of the code in which the browser loads this function name, but whether it is a global method or an internal function.
such as
(() => {
o = {}
functionNames = ["aa", "bb"]
for(let i in functionNames){
o[functionNames[i]] = new Function(builder)
}
})()
Line 5 of the above code actually produces the methods with the names aa and bb. I just hope to enter the keyword bb through the browser and even find out the construction location of such a function
., in fact, I can now enter keywords in Chrome to search all js, but the search results are too many to see, and the possible breakpoints that I can pay attention to do not stop. It is too strange that I really can not find where it is called or declared, which file line number is the function body in the end
in addition, I also hope to be able to listen to the call of a function / method / local function through keywords, and all those involved in this name will stop
ask for advice ~