如何在 Pharo 中复制并粘贴错误消息?

发布于 2024-08-11 20:13:26 字数 119 浏览 4 评论 0原文

Squeak 曾经是一种创新,它给人们提供的不仅仅是一条枯燥的错误消息:一个调试器,然后去弄清楚!

然而,现在有了谷歌,现在复制粘贴错误消息会很困难,该消息通常用作调试器窗口的标题。如何复制并粘贴该错误消息?

Squeak was once innovative by giving people more than a dull error message: a debugger and go figure out!

However, nowadays there's a google, and now it'd rock to copy paste the error message, which is typically served as the title of a debugger window. How can I copy and paste that error message?

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

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

发布评论

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

评论(2

孤芳又自赏 2024-08-18 20:13:26

如果您想要完整的堆栈跟踪,您可以查看在图像所在的同一目录中生成的 PharoDebug.log 文件。然后您可以打开该文件并复制内容。

If you want the full stacktrace, you can see the file PharoDebug.log generated in the same directory where the image is. Then you can open the file and just copy the content.

℡寂寞咖啡 2024-08-18 20:13:26

我知道最快的方法是 window menu >更改标题> ctrl-c,唉,这又打开了另一个窗口。窗口菜单是左上角的第二个图标(如果您使用 Squeak 标准主题)。

不过,在错误对话框中添加一个复制错误消息按钮可能会很酷。欢迎贡献!

The quickest way I know is window menu > change title > ctrl-c, alas this opens yet another window. The window menu is the second icon on the top left (if you use Squeak standard theme).

Might be cool to add a copy error message button to the error dialog though. Contributions are welcome!

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