Debugging, Testing.

To add comments, please log in or register
James Adams
16
James Adams  
Hey Everyone,

How do you debug or step through your code when you are developing an EA for MetaTrader 4. I noticed that you can set breakpoints just not sure how to use it.

Any help would be much appreciated.

Thanks Guys.
Slava
Moderator
12296
Slava  
No any built-in debugging tools. For debug use Print function.
PietCornelissen
49
PietCornelissen  
stringo wrote >>
No any built-in debugging tools. For debug use Print function.

Hay. I just wrote my first indicator ad try to print debug info, but can not find e print/log file.

Does print work from custom indicator? comment would do as well, but sleep is not avail. i could do a timeconsuming

wait loop but prefer a print/dump. There is also some talk about DDL but i can not find aditional info.

I would apreciate suggestions.

Rashid Umarov
Admin
15117
Rashid Umarov  
Look for *.log file in the folder .../experts/logs/
To add comments, please log in or register