找不到容器:goog.Disposable.instances _在为javascript工具使用泄漏查找器时出错
Container not found: goog.Disposable.instances_ error while using leak-finder-for-javascript tool
我正在使用javascript泄漏查找器工具来查找javascript中的内存泄漏。为此,我在Windows 7 上使用Python 2.5
INFO:root:Using leak definition closure-disposable
INFO:root:Reading suppressions from "closure-disposable-suppressions.txt"
INFO:root:Taking heap snapshot
INFO:root:Analyzing heap snapshot
ERROR:root:Error analyzing snapshot: <class 'leak_finder.Error'>
Traceback (most recent call last):
File "jsleakcheck.py", line 345, in <module>
sys.exit(main())
File "jsleakcheck.py", line 340, in main
result = leak_checker.Run(inspector_client)
File "jsleakcheck.py", line 151, in Run
leaks = self._FindLeaks(client)
File "jsleakcheck.py", line 189, in _FindLeaks
self.leak_definition.stacktrace_suffix).FindLeaks(nodes))
File "C:'Projects'retail'depot_tools'file'leak-finder'src'leak_finder.py", lin
e 571, in FindLeaks
raise Error('Container not found: %s' % edge_description)
leak_finder.Error: Container not found: goog.Disposable.instances_
当我试图检查谷歌。Disposable.instances _在chrome控制台中,它向我显示了有泄漏的对象,但随后它显示了此错误。
这个问题在错误跟踪器中进行了讨论:
http://code.google.com/p/leak-finder-for-javascript/issues/detail?id=8
此错误消息的最可能原因:
- 你检查的是一个错误的页面(Leak Finder总是检查第一个选项卡;在该选项卡上打开开发工具会混淆它)
- 您正试图将闭包泄漏定义与不使用闭包的页面一起使用
相关文章:
- Chrome开发工具(如何知道我在调用哪个javascript对象)
- Google/html5语音识别JavaScript SDK Chrome网络工具包SpeechRecognition
- 如何在GoogleWeb工具包(GWT)中从JSNI调用接口(实例化)
- 删除CKEditor工具栏按钮,但不删除功能
- d3.js Chord图的动态工具提示
- jQuery工具验证器自定义效果-添加&消除影响
- Graphiti中是否有任何工具提示功能
- "工具提示"jQuery插件坏了
- 单元格的工具提示或标题不显示超过2000个字符
- 用于高级文本的格式化工具
- d3.js用按钮更新条形图工具提示
- 克隆和恢复”;工具化的“;元素
- 使Intro.js工具提示响应
- 画布中绘制的矩形区域的弹出工具提示
- 使用CSS/JavaScript更改剑道图工具提示文本颜色
- 有什么工具可以轻松读取javascript代码吗
- 找不到容器:goog.Disposable.instances _在为javascript工具使用泄漏查找器时出错
- 跟踪 JavaScript 内存泄漏的工具
- 在此 Windows 小工具中查找导致内存泄漏的原因
- 巨大的节点泄漏在Chrome下的web应用程序开发工具不报告原因