colorsand

chrome 中怎么定位“Failed to load resource”这种错误出现的具体位置?

  •  
  •   colorsand · Jul 27, 2015 · 3622 views
    This topic created in 3949 days ago, the information mentioned may be changed or developed.

    chrome控制台中出现“Failed to load resource: the server responded with a status of 404 (Not Found)”这种错误的时候,有没有办法快速定位到出现问题的位置?有时候直接在源码中找不到相关资源。

    3 replies    2015-07-27 11:27:56 +08:00
    kikyous
        1
    kikyous  
       Jul 27, 2015
    404 还不明确?
    airyland
        2
    airyland  
       Jul 27, 2015
    看network里的这个请求,可以看到这个请求是哪一行代码发出的。
    colorsand
        3
    colorsand  
    OP
       Jul 27, 2015
    多谢@airyland,有的 initiator下边 显示的是other
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3045 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 13:11 · PVG 21:11 · LAX 06:11 · JFK 09:11
    ♥ Do have faith in what you're doing.