Tips & TricksPC SOFT
News, informations, examples, tips & tricks about WINDEV, WEBDEV and WINDEV MOBILE
Tunning & Debugging – Traces
Posted by:
LST Team
04:00 PM Thursday
Aug. 20, 2009
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
Comment this post
Comments
Add a comment
Name:
Email address:
Comments:

Code:
Remember me
Your IP address (not published): 38.107.191.119
The Blogs
Tips & Tricks
Technology and Market
Recent posts
SCM – Source Code Manager – Branch Management
04:00 PM | 08 Nov. 2009
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
Tunning & Debugging – Traces
04:00 PM | 20 Aug. 2009
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
HyperFileSQL DataBase – Using stored procedures
03:01 PM | 20 Jul. 2009
Popular posts
Tunning & Debugging – Traces
10:35 AM | 25 Aug. 2009 | 1 comment
HyperFileSQL DataBase – Frame compression
12:00 PM | 30 Jul. 2009 | 1 comment
RSS feeds
Tips & Tricks
Technology and Market
Archives
November 2009 (1)
August 2009 (2)
July 2009 (4)
June 2009 (1)