Re: trace in eu 2.0 and eu 2.1
- Posted by Lucius Hilley III <lhilley at CDC.NET> Apr 07, 1999
- 557 views
I'd just like to be able to show a sliced view of a variable. Adding breaks by variable value would be nice BUT. not really needed. Actually the slicing isn't NEEDED but would be greatly appreciated. Say I have a long sequence like. sequence s s = rand(repeat(256,50))-1 and I want to see the value stored at 32 ? s[32] would be great but. adding this will work. integer s32 s32 = s[32] then I would be able to ? s32 Of course at that point of assignment it would show it anyway. BUT this isn't great for multiple values over a large area. The best that can be done at that point is taking it into big chunks and ciphering through it the best you can. NOT a Pretty sight. Lucius L. Hilley III http://www.cdc.net/~lhilley http://www.davecentral.com --Software depot. http://www.tucows.com --Software depot & Rating. http://www.wotsit.org --Extension - File format arena On Wed, 7 Apr 1999 09:17:19 -0400, Brian Jackson <bjackson at 2FARGON.HYPERMART.NET> wrote: >On Wed, 7 Apr 1999 06:21:38 -0400, Jeffrey Fielding <JJProg at CYBERBURY.NET> >wrote: > >>I wish it did, but I don't think the trace in Euphoria has ever supported >>displaying anything but variables. >> >>> I seem to remember the version of trace in Euphoria 2.0 letting you do >>> stuff like... >>> >>> ?length(my_seq) >>> ?seq[2][2] >>> >>> ...maybe even... >>> >>> ?seq[1][2..4] >>> >>> ...directly into the trace program. You know, you hit "?" and trace asks >>> which variable you want to check. > >Sadly, that never was an option. While we're on the topic, though, what >does everybody else think about adding features like breakpoints, variable >tracepoints, and being able to move the instruction pointer around (i.e. >making trace a full-fledged debugger)?