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



_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to