Re: Still no better trace eval

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Tue, 25 Feb 2003 19:20:33 -0500, Robert Craig <rds at RapidEuphoria.com> 
wrote:

>
>
> aku saya wrote:
>> Why is still not a such trace evaluation such as x[20]?
>> I think it is not very difficult for Rob to implement...
>
> It's not too hard, but in 2.4 you can display/scroll
> entire large sequences in pretty print mode.
>
> If I did implement x[20], you'd probably ask
> why x[i] doesn't work. Then I'd do x[i], and you'd
> ask why x[i+1] doesn't work. It would be
> hard to evaluate general expressions in the middle
> of debugging, without a major change to the interpreter.
> Maybe some day...

Then maybe as a first step you do the form "<sequence>[<literal>]" because 
we can get the other forms interactively.

 ? i
--> i = 3

 ? x[3]
--> x[3] = "Hello"

 ? x[4]  --> x[4] = "World"

-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu