[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Debug informations

From: Gwenaël Casaccio
Subject: Re: [Help-smalltalk] Debug informations
Date: Fri, 07 Jun 2013 17:15:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

On 07/06/2013 15:56, Gwenaël Casaccio wrote:
On 27/05/2013 17:15, Paolo Bonzini wrote:
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:

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!

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.


Here is the new patch, it does the same but informations are added in MethodInfo. I've changed the grow_identity_dic I think that could create a leak (if the object is
allocated in old space)


Sorry but the change for grow_identity_dic was not needed.


Attachment: Add-support-for-DebugInformation.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]