无法从 Qt Creator 中的本地和观察者窗口中删除观察表达式

发布于 2024-10-14 17:47:29 字数 334 浏览 4 评论 0原文

问候!

我有一个奇怪的问题,我在网上找不到任何答案。我有 Qt-Creator 2.0.1 大约一个月或更长时间前,当我调试时,“本地和观察者”窗口中挂着一个大表情。它的值显示为“不可访问”。 如果我删除它,它将被删除,但在下一次更改(添加要监视的变量或删除另一个变量)时,它会回来。 如果我尝试编辑它,它的行为就像什么都没有(空白编辑框而不是编辑表达式的选项)。 如果我在编辑后按 Enter 键,则会添加另一个表达式(应该替换它,但它不会)。

重新启动或重新启动 Qt-Creator 后问题仍然存在。有办法解决吗?就像,调试后的表达式可以存储在哪里,以便我可以手动删除它们?有什么想法吗?

谢谢!

Greetings!

I have a weird problem and i cannot find any answer anywhere on the webs. I have Qt-Creator 2.0.1
Since like a month or more ago, i have a big expression hanging in the "Locals and Watchers" window when i am debugging. It is showing "not accessible" as its value.
If i remove it, it will be removed, but on next change (adding a variable to watch, or deleting another) it will come back.
If i try to edit it, it behaves like there is nothing there (blank edit box instead of option to edit the expression).
If i press enter after editing it, another expression will be added (should have replaced this, but it wont).

Problem persists through reboot or restart of Qt-Creator. Is there a way to fix it? Like, where can the debugged be storing those expressions, so i could remove them manually? Any ideas?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

我是有多爱你 2024-10-21 17:47:29

QtCreator 工作区配置存储在单独的文件中。

On Windows platform it is  (User Profile)/Application Data/Nokia/qtcreator/SessionName.qws
On Linux platform it is $HOME/.config/Nokia/qtcreator/SessionName.qws

.qws 是包含监视变量的 XML 文件。

QtCreator workspace configuration is stored in separate file.

On Windows platform it is  (User Profile)/Application Data/Nokia/qtcreator/SessionName.qws
On Linux platform it is $HOME/.config/Nokia/qtcreator/SessionName.qws

.qws is XML file that contains watched variables.

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