Debugging, Testing.

 
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.
 
No any built-in debugging tools. For debug use Print function.
 
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.

 
Look for *.log file in the folder .../experts/logs/
Reason: