无法看到镀铬装置中的角度来源

时间:2013-06-19 14:19:35

标签: javascript google-chrome angularjs google-chrome-devtools

所以我在我的javascript中遇到了我的angularJS应用程序的错误,但我看不到他们在哪里。如果我在调试器中打开sources选项卡,并且无法看到我的任何angularJS内容。以下是我在控制台中验证错误的示例:

Error: InvalidCharacterError: DOM Exception 5
Error: An invalid or illegal character was specified, such as in an XML name.
    at p.extend.attr (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:30181)
    at Function.p.extend.access (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:15973)
    at p.fn.extend.attr (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994), <anonymous>:2:26741)
    at Object.Attributes.$set (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3775:28)
    at eval (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4406:15)
    at forEach (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:140:20)
    at mergeTemplateAttributes (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4401:7)
    at applyDirectivesToNode (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:4149:13)
    at compileNodes (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3902:15)
    at compile (eval at <anonymous> (eval at <anonymous> (https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js:4:4994)), <anonymous>:3840:29)

注意堆栈跟踪中的所有内容?知道为什么会这样吗?过去工作得很好......

1 个答案:

答案 0 :(得分:0)

您应该查看名为Batarang的Chrome Extension for Angular:https://chrome.google.com/webstore/detail/angularjs-batarang/ighdmehidhipcmcojjgiloacoafjmpfk