ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
  • Use conditions according to the platforms
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Displays the requested information (content of a control, for example) in a window opened next to the current window.
Trace window
Notes:
  • Trace is useful during the development process to check whether a program runs properly. In the editor, the "Debugger trace" displays the information found in the trace window as well as the full text of errors that occurred.
  • trace window displays in both development and execution modes. To avoid a runtime display, use function InTestMode.
Example
// ------------------
// Affichage d'informations dans la fenêtre de trace
Trace("Résultat du calcul: " + ResCalcul)
// ----------------
// Surcharge de l'affichage de la trace
PROCÉDURE Trace(MessageAAfficher)
IF InTestMode() THEN Trace(MessageAAfficher)
// Appel de la fonction Trace surchargée
WL.Trace("Lancement de la trace")
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 information to be displayed in the trace window. It will be displayed on the same line as <Information>.
<Additional information N>: Any type (optional)
Additional information to be displayed in the trace window. It will be displayed on the same line as <Information>.
Remarks

Use conditions according to the platforms

iPhone/iPadIOS WidgetApple WatchMac Catalyst Trace displays requested information in the Xcode standard output window.
AndroidAndroid Widget Trace saves the requested information in the application log ("ADB log") at runtime or in emulator mode. This information appears in the "Info" section.
This log can be viewed when the device is connected via USB or when using the emulator from the DDMS application provided with the Android SDK.
For more details, see Managing ADB logs.
Component: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/08/2024

Send a report | Local help