[Top][All Lists]

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

Re: [Help-smalltalk] primitives

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] primitives
Date: Tue, 24 Mar 2009 16:41:01 +0100
User-agent: Thunderbird (Macintosh/20090302)

> Thanks I'll look at the DebugTools. By the way I've a question in the 
> ContextPart there is a byte code for the line of code Am I right ?
> Do you store it as an interval for the position in the source code ? 

The first line bytecode in the method is absolute in the file; the next
ones are relative to the first line in the method (this is to avoid too
many big numbers which would be more expensive to skip over at runtime).
 Source code intervals are never used.

(BTW, DebugTools has SUnit tests that you can refer to).


reply via email to

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