[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] [2.0.11] Interactive editing and method text
From: |
Nicolas Pelletier |
Subject: |
[Help-smalltalk] [2.0.11] Interactive editing and method text |
Date: |
01 Apr 2003 12:29:39 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hello,
I am creating a method interactively and trying to look at what I
typed by directly asking the CompiledMethod. This does not give me the
full text of the method, whereas it does for all methods of the
kernel...
22 % gst -q
GNU Smalltalk ready
st> Smalltalk version printNl !
'GNU Smalltalk version 2.0.11'
st> Object
st> subclass: #Toto
st> instanceVariableNames: ''
st> classVariableNames: ''
st> poolDictionaries: ''
st> category: 'testing' !
st>
st> ! Toto methodsFor: 'testing' !
st>
st> test
st> 1 printNl.
st> 2 printNl
st> ! !
st>
st> (Toto methodDictionary at: #test) methodSourceString printNl !
'! !
'
st>
Is there another way to do it ? Or should I try and modify something ?
Thanks in advance.
--
Nicolas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Help-smalltalk] [2.0.11] Interactive editing and method text,
Nicolas Pelletier <=