EA for MQL5 ..... sometime terminated

To add comments, please log in or register
siljo
195
siljo  

Hi


I have ExpertAdvisor (mql5) wich sometime crash and terminate! How to find bug?

Thanks to all!

William Roeder
20808
William Roeder  
Use the debugger or print out your variables, including _LastError and prices and . Do you really expect us to debug your code for you?
siljo
195
siljo  
William Roeder:
Use the debugger or print out your variables, including _LastError and prices and . Do you really expect us to debug your code for you?

I'm debuging but withou problems .... Bug is generated ones a day or maybe 2 times per day!

How to debug huge of surce code! Not possible!

I ask because maybe exists some code how to catch event of termination!?

Maybe some LOG file must be generated....how to solve you such a problem?!

siljo
195
siljo  

I found in TAB: Experts

... it was "....array range error ..."

And I see:  linenumber of source and number of charachters from beginning of line!

So Y and X position of soucre code! Very nice!

To add comments, please log in or register