Good debug techniques

 

Hi guys


Im new to this whole thing, but I have relative good programming skills. But I dont know how to debug mql4? Its very shitty, to work with Alert() because it takes very much time and it takes very much time. Do you know a way to debug proper? Thanks in advance for your replies


greets simplex

 

Don't make mistakes.

Or...

I put conditional print statements in the code:

if(DEBUG) Print( whatever );

 

See if google or babelfish can help you to translate this article: https://www.mql5.com/ru/articles/1473

 

Just tried google translation


Hard to read, but you should get the idea.

 
bstone:

See if google or babelfish can help you to translate this article: https://www.mql5.com/ru/articles/1473


This article is already translated. How to Make the Detection and Recovery of Errors in an Expert Advisor Code Easier

 

Thanks Rosh. I tried to find it by the author's name but it didn't show up. Any ideas why?

 
bstone:

Thanks Rosh. I tried to find it by the author's name but it didn't show up. Any ideas why?

I can't tell why, now I vew all your article in him profile https://www.mql5.com/ru/users/bstone



If you don't view the same picture, please, send me letter with a screeen shot.

 
You're right. I see them in my profile. I had no idea that I can see translated articles there. I guess I have to visit the profile page more often, eheh. Thanks.
Reason: