Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Trace function

From: volker nitsch:crosswinds at: 21-Jun-2001 13:08

RE: [REBOL] Re: Trace function [Sanghabum--aol--com] wrote:
> [g--santilli--tiscalinet--it] writes: > > > I think I used TRACE 5 to 10 times at most since I use REBOL, and > > mainly to trace what PARSE was doing. > > > > PROBE is more than enough for debugging IMHO. You don't have all > > that useless output, and are immediately able to see what's going > > on. > > Hi Gabriele, > > I suspect the lack of response to my request indicates just how few of us > ever go near Trace after the first encounter. I'm sure we've all got our > little toolkit of debugging toys. The simplest one I have is in my USER.R.... > > debugprint: :print > > .....so I can search code later for all Print statements that exist only for > debugging. > > I think it is a shame that Rebol does not have a better set of debugging > tools. > > Perhaps we could open this thread out....Anyone else got little scripts or > tricks they use for debugging that they'd like to share? > >> ???: func ['word value] [ print [mold :word " : " mold :value] word :value] >> ??? one-value: 5 ??? another-value: 7 ??? sum: one-value + another-value
one-value: : 5 another-value: : 7 sum: : 12 -Volker