The WLanguage Trace function lets you display information during an application's execution. This function is often used during the development phase of an application.
On the other hand, a lot of developers are aware of the possibility of customizing how the trace works. This customization is done with the TraceStart function of WLanguage.
// The trace window is displayed
// on top of the other windows
// and a trace file is saved
TraceStart(trWindow+trTopMost+trFile,
fExeDir()+["\"]+"TraceExecution.txt")
You can:
• Displaying the trace inside a window, is the default behavior with the trWindow constant
• Save the trace in file with the trFile constant.
• Disable the trace by programming with the trDisable constant