MetaEditor Help

Debug

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

 

Command

Description

Start On Real Data

Start On Real Data

Debug the current code on a chart that is updated in real time.

Start on History Data

Start on History Data

Debug on history data. A program is debugged in the Strategy Tester in the visual testing mode. A chart for debugging is based on a sequence of ticks emulated in the tester.

Pause

Pause

Temporarily break the process of program execution in the debugging mode. After this command is executed, running of program can be continued by pressing the "Resume" button that appears instead of the command described above.

Stop

Stop

Stop the debugging process.

Step Into

Step Into

Pass one step of the program execution entering the called functions.

Step Over

Step Over

Pass one step of the program execution without entering the called functions.

Step Out

Step Out

Go to the execution of a program step one level higher.

Toggle Breakpoint

Toggle Breakpoint

Toggle/untoggle the breakpoint in the current line of the edited file depending on its current state.

Clear All Breakpoints

Clear All Breakpoints

Clear all breakpoints in the currently debugged program.

Start profiling

Start Profiling

Start the profiling process for the current code.

End profiling

End Profiling

End the profiling process.