[英]How Can I Get the Arguments of Function Calls from the Firebug Profiler?
Firebug profiler outputs the functions called, but not the arguments/parameters of each function call. Firebug探查器输出调用的函数,但不输出每个函数调用的参数/参数。 Is there any way to get those arguments? 有什么办法可以得到这些论点吗?
I've dug through the DOM tab for any of the given function calls that I know would have to have had some arguments, but was unsuccessful in pulling out any details. 我已经对DOM选项卡进行了挖掘,查找了我知道必须具有一些自变量的任何给定函数调用,但是未能提取出任何细节。
Edit: Still looking for a solution to this. 编辑:仍在寻找解决方案。 I'd add a bounty if I had 50 points, but at the moment it's at 49! 如果我有50分,我会加赏金,但目前是49分! I can't mark this as solved though, because none of the two provided answers are really definitive. 我无法将其标记为已解决,因为提供的两个答案中没有一个是确切的答案。
Just had a look and couldn't see the functionality, also firebug displays a count of the number of times a function is called in the profiler and doesn't seem to actually log individual calls in the UI, although I may be wrong. 只是看了一下而看不到功能,firebug也显示了在探查器中调用一个函数的次数计数,尽管我可能是错的,但似乎并没有实际记录UI中的单个调用。
Obvious question, depending what you actually trying to achieve would it not by better to simply log out the args if you need to know what they are? 一个明显的问题,如果您想知道它们是什么,那么根据您实际尝试实现的目标,最好不要简单地注销args?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.