PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Start modes of debugger
  • Tracing/Debugging a project
  • Executable
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
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
// Open a new window
Open(WIN_EditWindow)
// Start the debugger
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.
Caution: this condition is evaluated when debugging a project only.
Remarks

Start modes of debugger

To start the debugger during a test, you can use:
  • STOP in the code editor.
  • A breakpoint in the code editor ("Edit .. Breakpoints" or Ctrl + Pause in the code editor).A breakpoint in the code editor: on the "Code" pane, in the "Breakpoints" group, expand "Breakpoint" and select "Breakpoint" (or press Ctrl + B in the code editor).A breakpoint in the code editor: on the "Code" pane, in the "Breakpoints" group, expand "Breakpoint" and select "Add a breakpoint" (or press Ctrl + B in the code editor).
  • The Ctrl + Pause keys when running the test.

Tracing/Debugging a project

To trace a project from the beginning of its execution, select "Project .. Test mode .. Trace the project" (Alt + F9).To trace a project from the beginning of its execution: on the "Project" pane, in the "Test mode" group, expand "Test mode" and select "Trace the project" (Alt + F9).

Executable

STOP has no action in the code of an executable.
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