About context variables in the debugger

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

About context variables in the debugger

Mathieu Suen-2
Hi Paolo,

I just want to report the discussion we have on CompiledBlock in other to retrieve
the name of the variable (temp + args) and thus have them in the debugger.

The first idea was to put the chracter offset from the source code inside the literals,
but since the CompiledBlock and the Method share the same literals we need to map which block have which offset.

We can than just add an array in the literals for that purpose.
See what do you guys thinks

Thanks
        Mth




__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités
http://mail.yahoo.fr Yahoo! Mail

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: About context variables in the debugger

Paolo Bonzini-2
On 09/29/2010 11:10 PM, Mathieu Suen wrote:

> Hi Paolo,
>
> I just want to report the discussion we have on CompiledBlock in
> other to retrieve the name of the variable (temp + args) and thus
> have them in the debugger.
>
> The first idea was to put the chracter offset from the source code
> inside the literals, but since the CompiledBlock and the Method share
> the same literals we need to map which block have which offset.
>
> We can than just add an array in the literals for that purpose. See
> what do you guys thinks

Have you tried just reusing the DebugSupport.st code from the old browser?

Paolo

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk