|
|
|
|
|
- Use conditions according to the platforms
- Trace window
- Context menu of the trace window
Trace (Function) In french: Trace Displays the requested information (content of a control, for example) in a window opened next to the current window.
Remarks: - 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.
- The trace window is displayed in both development and run mode. To avoid a runtime display, use the InTestMode function.
Trace("Résultat du calcul : " + ResCalcul)
PROCEDURE Trace(MessageAAfficher)
IF InTestMode() THEN Trace(MessageAAfficher)
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 Trace window - The information passed as parameter is displayed on the next line of the trace window.
- The trace window opens automatically the first time Trace is called (TraceStart is executed automatically). By default, this window is opened in the upper-left corner of the screen. It can be moved. The new position is automatically saved.
- Trace is similar to Info but the information is displayed in another window and no key needs to be pressed.
New in SaaSContext menu of the trace window The context menu of the trace window allows you to: - copy/cut/paste the content of trace window.
- save the content of the trace window in a text file.
Note: This option is only available if the wdxxxstd.dll library is present on the end-user workstation. - clear the contents of the trace window.
- open the trace window on top of all the other windows (including the windows from the other applications).
- save the size and position of the trace window when it is closed. When this window is displayed again, it will keep the size and position saved.
- display a horizontal scrollbar.
- Display control characters: Special characters will be displayed in grayed and literal form: EOT, TAB, etc. Therefore, the "Carriage Return" (CR) characters in the trace window are represented as "<\r><\n>".
Note: This option will only be taken into account from the next line of information displayed.
New in SaaS
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|