如何在 Pharo 中复制并粘贴错误消息?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想要完整的堆栈跟踪,您可以查看在图像所在的同一目录中生成的 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.
我知道最快的方法是
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!