In my Project Init I have this:
TraceEnd()
TraceStart(trFile,gsDebugFile)
Trace(CR + CR)
Trace("*** Start of Sesssion " + gsTraceDate + " ***")
Trace(CR)
gsDebugFile is a project global variable. However I have noticed that when I either call another local procedure or Server procedure the trace statement does not recognize the trace file any longer. So I have to reset it all with another traceend/trace start statemement.
Obviously trace does not work when you are running a server side procedure, but when you return from that to run local code surely the original trace statement should still work on the gsDebugFile?
Thx
TraceEnd()
TraceStart(trFile,gsDebugFile)
Trace(CR + CR)
Trace("*** Start of Sesssion " + gsTraceDate + " ***")
Trace(CR)
gsDebugFile is a project global variable. However I have noticed that when I either call another local procedure or Server procedure the trace statement does not recognize the trace file any longer. So I have to reset it all with another traceend/trace start statemement.
Obviously trace does not work when you are running a server side procedure, but when you return from that to run local code surely the original trace statement should still work on the gsDebugFile?
Thx