PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Use conditions according to the platforms
  • Trace window
  • Popup menu of trace window
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Displays the requested information (content of a control for example) in a window opened in parallel of the current window.
Trace window
Note: Trace is useful during the development to check whether a program is operating properly. In the editor, the "Trace of debugger" displays the information found in the trace window as well as the full text of errors that occurred.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Display information in the trace window
Trace("Calculation result: " + ResCalc)
Syntax
Trace(<Information> [, <Additional information 1> [... [, <Additional information N>]]])
<Information>: Any type
Set of elements that will be displayed in the trace window.
<Additional information 1>: Any type (optional)
Additional elements that will be displayed in the trace window. Will be displayed on the same line as <Information>.
<Additional information N>: Any type (optional)
Additional elements that will be displayed in the trace window. Will be displayed on the same line as <Information>.
Remarks

Use conditions according to the platforms

Linux Trace can be used to display the requested information in a file only. By default, this file is created in the UNIX temporary directory and is named "Trace_<Project>.txt".
WINDEV

Trace window

  • The information passed in parameter is displayed on the next line of the trace window.
  • The trace window is automatically opened during the first call to Trace (TraceStart is automatically run). By default, this window is opened in the top left corner of the screen.
  • The operating mode of Trace is equivalent to the operating mode of Info but the display is performed in a parallel window, without waiting for keys.
WINDEV

Popup menu of trace window

The popup menu of Trace window is used to:
  • copy/cut/paste the content of trace window.
  • save the content of the trace window in a text file.
    Caution: This option is available only if the wdxxxstd.dll library is found on the end-user computer.
  • clear the content of trace window.
  • open the trace window on top of all the other windows (including the windows from the other applications).
  • store the size and position of the trace window when it is closed. When re-displaying this window, it will be displayed according to the size and position stored.
  • display an horizontal scrollbar.
  • display special characters in gray and literally: EOT, TAB, etc. Therefore, the "Carriage Return" (CR) characters found correspond to "<\r><\n>".
    Note: This option will be taken into account from the next line of information displayed.
Component : wd250vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment