Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为我的项目使用Bryntum图表和extjs4。这是我从昨天开始得到的错误
我知道方法 addCls 没有定义。
如何解决这个错误。
我的代码文件非常大,大约 1500 行,但如果需要理解问题,那么我也会粘贴整个代码......
任何帮助将不胜感激。
在引发异常的行上放置一个断点。找出哪个对象(罪魁祸首)正在尝试调用 addCls() 方法,然后编辑断点以添加如下条件:
罪魁祸首 == 未定义
下次代码将在您遇到错误之前停止。然后,您可以检查堆栈并查看此时的调用层次结构。