Re: Tracer

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

Mr. Trick writes:
> However, my problem at the moment is that there is an
> error deep within a large sequence. It's not a run-time error, 
> but it produces an undesirable result. I can't see that 
> particular entry, because all that you can see of the sequence 
> is the first few members. I'd like to see extended support in 
> the trace facility, to specify an entry or a slice of a variable, 
> or even do multi-dimension databases.

I'm going to make some improvements in this area,
but for now you should try the pretty_print() routine
that I've added to misc.e (see Recent User Contributions
"Faster EDS").

You could do something like:

f = open("debug", "w")
pretty_print(f, x, {})
close(f)

where x is your variable.
It will print your variable, no matter
how big or complicated, in a nice readable way.

Regards,
   Rob Craig
   Rapid Deployment Software
   http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu