这些是我的控制台中的错误,
Uncaught SyntaxError: Unexpected token < jwplayer(1).js:1
GET file:///Users/Desktop/home/homes_files/84820220.html net::ERR_FILE_NOT_FOUND homes_files/84820220.html:1
GET file:///Users/Desktop/home/homes_files/bLBBWlYJp_w.html net::ERR_FILE_NOT_FOUND homes_files/bLBBWlYJp_w.html:1
GET file:///Users/Desktop/home/homes_files/bLBBWlYJp_w(1).html net::ERR_FILE_NOT_FOUND homes_files/bLBBWlYJp_w(1).html:1
GET file:///Users/Desktop/home/homes_files/getSegment.html net::ERR_FILE_NOT_FOUND homes_files/getSegment.html:1
GET file:///Users/Desktop/home/homes_files/index.a92414725f76870a42ebbab80c488823.html net::ERR_FILE_NOT_FOUND homes_files/index.a92414725f76870a42ebbab80c488823.html:1
GET file:///Users/Desktop/home/homes_files/images/overlay.png net::ERR_FILE_NOT_FOUND jquery-1.7.2.min.js:2
Uncaught SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'. st.aa03925d5a5cf99815b298eaa597d946.js:1
broadcastSendMessage st.aa03925d5a5cf99815b298eaa597d946.js:1
(anonymous function) st.aa03925d5a5cf99815b298eaa597d946.js:1
(anonymous function) st.aa03925d5a5cf99815b298eaa597d946.js:1
GET file:///Users/Desktop/home/images/sep-02.png net::ERR_FILE_NOT_FOUND jquery-1.7.2.min.js:3
我的问题是, 如果我想追查这些错误的起源,那么它们的规则是什么?
例如,
GET file:///Users/Desktop/home/homes_files/images/overlay.png net::ERR_FILE_NOT_FOUND jquery-1.7.2.min.js:2
我知道这里的错误是文件路径实际应该是
Users/Desktop/home/images/overlay.png
现在我的示例中引用的文件是
jquery-1.7.2.min.js:2
但该文件中没有提到我要更改的错误文件路径。如何使用控制台跟踪这样的错误?
此外,我正在使用Chrome Devtools Autosave,因此如果有办法在不离开控制台的情况下执行此操作,那将非常棒。
谢谢!