MetaEditor Help

Debug

Debug

The menu is intended for debugging MQL4/MQL5 programs. It contains the following commands:

 

Command

Description

Start

Start/Resume debugging on real data

Launch debugging of the current code on a chart that is updated in real time.

Start on History Data

Start on History Data

Launch debugging on history. A program check runs in the visual testing mode in the strategy tester. An application is executed on a chart with an emulated sequence of ticks in the tester.

Pause

Pause

Pause a program debugging. To continue debugging, click Resume.

Stop

Stop

Stop debugging.

Step Into

Step Into

Move one step of program execution accessing the called functions.

Step Over

Step Over

Move one step of program execution without accessing the called functions.

Step Out

Step Out

Execute a single step of a program one level higher.

Enable a breakpoint

Toggle Breakpoint

Enable/disable a breakpoint on the current line depending on its current status.

Clear All Breakpoints

Clear All Breakpoints

Clear all breakpoints from the currently debugged program.

Start profiling on real data

Start profiling on real data

Launch the profiling of the current code on a normal chart that is updated in real time.

Start profiling on history data

Start profiling on history data

Launch the profiling of the current code in the Strategy Tester in the visual mode.

Stop Profiling

Stop Profiling

Stop profiling.