Firefox 在哪里存储错误控制台的内容?
Firefox 将错误控制台的内容(文本消息)存储在哪里。错误、警告、消息等存储在某处,因为即使浏览器关闭并重新打开,Firefox 也会保留它们。
我尝试搜索整个配置文件文件夹,但找不到这些错误控制台消息写入哪个文件或 sqlite DB?
有人对此有想法吗?
提前致谢。
Where does Firefox store the contents (text messages) of the Error Console. The errors, warnings, messages etc. are stored somewhere as Firefox retains them even if the browser is closed and re-opened.
I tried to search the entire profile folder but couldn't find out which file or sqlite DB these error console messages are written to ?
Does anyone have idea about this ?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不会,如果您关闭 Firefox 并重新打开它,错误控制台就会被清除。
错误控制台不绑定到特定的浏览器窗口,因此当 Firefox 运行时,即使您关闭并打开某些窗口,消息也会保留。在应用程序的生命周期中,消息存储在内存中 (代码链接)。
如果您正在寻找一种将错误控制台中出现的消息转储到文件的方法,则可以这样做,但我不记得了,也不想寻找它,除非您就是这么做的。感兴趣。
[编辑我能找到的最好的是这个]
[编辑]如果你确实看到这个,你确定这只是基本的 Firefox 吗?也许这是您安装的一些扩展? (尽管在错误控制台中实现消息持久性会很奇怪。)
No, Error Console is cleared if you close Firefox and re-open it.
Error Console isn't tied to a particular browser window, so while Firefox runs, the messages are retained even if you close and open some windows. During the lifetime of the application, the messages are stored in memory (code link).
If you're looking for a way to dump messages that appear in the Error Console to a file, it's possible to do that, but I don't remember off-hand and don't want to look for it unless that's what you're interested in.
[edit The best I could find was this]
[edit] if you indeed see this, are you sure it's just base Firefox? Maybe it's some of the extensions you've installed? (Though it would be weird to implement messages persistence in the Error Console.)