Re: [Pharo-project] Problem with InstructionPrinter?
Aug. 3, 2010
11:02 a.m.
Is that example the recommended way to see a dump of the bytecodes for a method?
Because there are special primitives for that. Try this:
String streamContents: [ :stream | (YourClass >> #first) longPrintOn: stream indent: 0 ].
Levente
Aug. 3, 2010
10:07 p.m.
New subject: [Pharo-project] Problem with InstructionPrinter?
On Tue, 3 Aug 2010, James Ladd wrote:
Is that example the recommended way to see a dump of the bytecodes for a method?
Yes, but you can also explore the CompiledMethod to see it in a structured form. Levente
Because there are special primitives for that. Try this:
String streamContents: [ :stream | (YourClass >> #first) longPrintOn: stream indent: 0 ].
Levente
5841
Age (days ago)
5841
Last active (days ago)
1 comments
2 participants
participants (2)
-
James Ladd -
Levente Uzonyi