> Well, I've decided that the best thing for me to do is to rewrite the
> debugging template to my specifications.
> Holy hell in a hand backet Batman!
Wha's a hand backet?
Are you going to write a source-code analyzer or a runtime-trace?
If the latter, you might consider accepting hints from the various
modules as they execute. I did this in some complex code I wrote and I
think that FB did something like this in one of their implementations.
All I did was have a simple variable that I set in each routine--
something like:
<cfif Application.doTrace><cfset trace = "module MyModuleName, line no
nnn"><cfoutput>Trace...#trace#]</cfoutput></cfif>
I would paste this at the front of any line I wanted to watch ( at
least template entry & exit points)
I could turn trace on or off interactively.
You could do this by logging instead of tracing.
Anyway, this helped me quickly isolate any problem areas, then focus,
in more detail, by adding more tracepoints,
At the time CF didn't have any such facility. And I found it very
useful in determining application flow when it depended on external
events such as CC auth, or CFHttp requests.
Dick
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

