how debug step by step ?

 

Hi  is possible in the MetaEditor  run a  program  step by step  for  look where  is the problem ??  thanks

 
faustf: Hi  is possible in the MetaEditor  run a  program  step by step  for  look where  is the problem ??  thanks

Yes, it is called a "debugger" — Look at the menu and you will see a section call "Debug".

 
Error Handling and Logging in MQL5:  https://www.mql5.com/en/articles/2041
Tracing, Debugging and Structural Analysis of Source Code, scroll down to: "Launching and Debuggin": https://www.mql5.com/en/articles/272
Code debugging - Developing programs - MetaEditor Help
  • www.metatrader5.com
MetaEditor has a built-in debugger allowing you to check a program execution step by step (by individual functions). Place breakpoints in the code...
 
thanks
Reason: