ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage syntax / Reserved keywords
  • Start modes of the debugger
  • Tracing/Debugging a project
  • Executable
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
STOP (Reserved word)
In french: Stop
STOP is used to call the WLanguage debugger during a test in the editor. Once this keyword is called, the current test is run in the debugger.
Example
// Ouverture d'une nouvelle fenêtre
Open(FEN_FenêtreSaisie)
// Lancement du débogueur
STOP
Syntax

Starting the debugger

STOP

Starting the debugger with condition Hide the details

STOP IF <Condition>
<Condition>:
Condition for starting the debugger. The debugger will be started if the condition is fulfilled.
Warning: this condition is only evaluated when debugging a project..
Remarks

Start modes of the debugger

To start the debugger during a test, you can use:
  • The STOP keyword in the code editor.
  • A breakpoint in the Code Editor: under the "Code" pane, in the "Breakpoints" group, pull down "Breakpoint" and select "Add a breakpoint" (or keyboard shortcuts Ctrl + B in the Code Editor).
  • The Ctrl + Pause keys when running the test.

Tracing/Debugging a project

To trace a project as soon as it starts running: in the "Project" pane, in the "Test mode" group, pull down "Test mode" and select "Debug project" (keyboard shortcuts Ctrl + F9).

Executable

The STOP keyword in executable code has no action.
Minimum version required
  • Version 9
This page is also available for…
Comments
Exemplo STOP Debug
Exemplo STOP Debug

STOP IF EDT_valor>10

// Blog com Video e Exemplo

http://windevdesenvolvimento.blogspot.com.br/2016/10/aula-941-windev-comandos-9-stop.html

https://www.youtube.com/watch?v=k3rjEJiY4Z4
De matos
15 Oct. 2016

Last update: 09/24/2024

Send a report | Local help