How do I copy a stacktrace out of the debugger in Pharo?
Asked Answered
P

2

4

How do I copy a stacktrace out of the debugger in Pharo?

I know there's the Debug.log file somewhere near the image, but I'm far too lazy to navigate out of Pharo, to the file system, find the folder, and browse through a gigantic text file if there's a stack trace right in front of me.

Pyroxene answered 26/10, 2010 at 10:15 Comment(0)
B
7

I know a way, but it is not the best. When you are inside the debugger, right click -> "mail out bug report" and there you can copy/paste the stacktrace heheheh

Another option is to bring ctrl + click in order to bring the other menu, and select the option "copy text"

cheers

Budde answered 26/10, 2010 at 11:34 Comment(3)
+1 The bug report is very detailed. It includes more than a list methods on the stack. It shows the arguments for each call and the receiver instance variables.Bimetallism
by now you can now simply right-click on the debugger and do a "copy to clipboard"Akiko
or even newer, serialize the stack as fuel file and then simply import it into a similar image to inspect it again.Akiko
S
0

In Pharo 5, there is a Copy to clipboard menu entry in the overflow menu of the debugger. See the screenshot:

How to copy stacktrace to clipboard in Pharo 5

Saporific answered 11/12, 2016 at 8:43 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.