How can I filter XHR requests by name in Chrome developer tools / Firebug

╄→гoц情女王★ 提交于 2019-12-21 03:47:10

问题


My problem is the webapp I am working on is pinging the server at short interval so I have many lines coming in Network tab of Chrome developer tools.

  • First problem: Chrome start to be irresponsive and then crash
  • Second problem: I want to remove all the ping request and have only the request I want to monitor.

Is there a way to filter XHR request by name or pattern ?

Bonus : same question apply for Firebug

In this screenshot I wish to filter our all 'bind' requests.

Thanks


回答1:


This feature was added in September 2012: https://code.google.com/p/chromium/issues/detail?id=117702#c4

Cmd/Ctr-F to filter in developer tools Network tab.




回答2:


Make use of negative text filters recently announced here (they should make it to the stable release in the near future if not already).

Chrome developer docs don't yet appear well updated but what is documented is available at

Chrome developer docs - Sorting and filtering




回答3:


Firebug's Net panel currently only allows to sort the requests, it doesn't allow filtering besides by type (HTML, CSS, JS, XHR, Images, Flash and Media). Though there are two requests covering this:

  • Issue 3560: Search in Net panel to act as a filter
  • Issue 4829: Custom Filters for Net Panel (other panels?)


来源:https://stackoverflow.com/questions/9644098/how-can-i-filter-xhr-requests-by-name-in-chrome-developer-tools-firebug

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