C
Corno
Hi all,
My collegue finds tracing very important and therefore we have agreed that
we will do quite a lot of it.
The first and last line of every function will contain a trace stating which
function has started or ended (stack tracing), and in between we can write
relevant information;
Public Sub AddOne(ByRef counter As Integer)
TraceStartFunction("AddOne")
'Do it's thing
counter = counter + 1
Trace("work is done")
TraceEndFunction("AddOne")
End Sub
It seems to me that it should be possible to do this more efficiently.
Is there a way to combine automatic stack tracing with manual trace
messages?
Corno
My collegue finds tracing very important and therefore we have agreed that
we will do quite a lot of it.
The first and last line of every function will contain a trace stating which
function has started or ended (stack tracing), and in between we can write
relevant information;
Public Sub AddOne(ByRef counter As Integer)
TraceStartFunction("AddOne")
'Do it's thing
counter = counter + 1
Trace("work is done")
TraceEndFunction("AddOne")
End Sub
It seems to me that it should be possible to do this more efficiently.
Is there a way to combine automatic stack tracing with manual trace
messages?
Corno