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 17 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Apple Watch This function is now available in Apple Watch mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Apple Watch This function is now available in Apple Watch 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

Windows Mobile Trace is taken into account during a test in the simulator and during a test on the Pocket PC. In this last case, the information is directly displayed in the environment, in the "Trace of debugger" pane.
iPhone/iPadApple Watch Trace displays the requested information in the standard output window of Xcode.
AndroidAndroid Widget Trace is used to save the requested information in the application log (called "ADB log") at run time or in emulator mode. This information is found at "Info" level.
This log can be viewed when the device is connected via USB or when using the emulator from the DDMS application supplied with the Android SDK.
See Managing ADB logs for more details.
Windows Mobile

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.
Windows Mobile

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>".
    Remark: 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