[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Debug informations
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Debug informations |
Date: |
Mon, 27 May 2013 17:15:35 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 |
Il 27/05/2013 12:26, Gwenaël Casaccio ha scritto:
> On 27/05/2013 11:02, Paolo Bonzini wrote:
>> Il 27/05/2013 10:47, Gwenaël Casaccio ha scritto:
>>> Hi,
>>>
>>> Right now the only way to get the temps, args names from
>>> methods and blocks is the use the source code and extract
>>> those informations from it.
>>>
>>> With the proposed patch I've added for each compiled method/block
>>> a debug information with the args and the names, the class could be
>>> extended to add line number inside it.
>> You can use a single array with arguments and temporaries concatenated.
>> Otherwise the patch looks pretty good, thanks!
>>
>> Paolo
>
> Here is a new version with one array
Oops, sorry for not noticing this before: this must go in the
MethodInfo, or you break loading old images. CompiledCode (and
subclasses) have their format set in stone.
Paolo