[REBOL] Trace function
From: sanghabum::aol::com at: 18-Jun-2001 18:47
Am I the only one who finds 'Trace too mighty a sledgehammer to be of any
real use? Trace with any VID function is just burbles on forever, And, even
outside VID, the amount of Rebol that is implemented as mezzanine functions
means that my little code is often lost in the Trace output.
Assuming this is a common experience, perhaps we could pool suggestions for
improved debugging options and submit a combined request to Feedback.
I'd be happy to collate any suggestions. Mine are a few refinements for Trace:
** Trace/UserFunctions -- just trace the input conditions to a user (i.e. not
a system) function. I'm not sure if Rebol can distinguish User from System,
but I'd be happy with a working definition that User is any function defined
or redefined in or after the %user.r
** Trace/UserReturn -- just trace return conditions from user functions.
** Trace/UserAssign -- trace result of any assignment in user code (e.g.
value of aa after aa: bb + 4)
** Trace/Disable -- turns off ALL tracing regardless of any further trace
statements (other than a trace/disable false), Lets me turn off all tracing
at one point without having to remove or comment out the individual trace
I've got a few other ideas, but that's my Christmas wish list.