开发者

Javascript analysis tool that lists all callers of a function

开发者 https://www.devze.com 2023-02-06 12:10 出处:网络
Are there any tools that will show me a list o开发者_如何转开发f all functions that call a given function?Perhaps there is a code coverage tool that can also output this information.Not that I know of

Are there any tools that will show me a list o开发者_如何转开发f all functions that call a given function? Perhaps there is a code coverage tool that can also output this information.


Not that I know of.

Unlike most languages, it isn't possible to write such a tool effectively in Javascript, since functions can (and frequently are) called by name or passed in variables.

It would be possible to find out when a function is called as you run your code, though.

0

精彩评论

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