Get request Initiator stack in Network tab

可紊 提交于 2019-12-08 16:41:53

问题


Each request in the "Network" tab of the dev tools has an "Initiator" column.

For AJAX requests this is mostly useless since jQuery does all of the actual requesting and ends up in here.

I vaguely read something in Google's documentation (https://developers.google.com/chrome-developer-tools/docs/protocol/tot/network) about how the Initiator object actually contains a stack trace ... So: how can I get that?


回答1:


Late answer for this, but if you hover over the link for the Initiator the stack pops up in a hover. If you carefully navigate into the popup you can click to the source lines of calls further up the stack.



来源:https://stackoverflow.com/questions/14726402/get-request-initiator-stack-in-network-tab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!