Firefox 在哪里存储错误控制台的内容?

发布于 2024-08-08 20:34:16 字数 255 浏览 8 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

疧_╮線 2024-08-15 20:34:16

不会,如果您关闭 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.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文