I have ExpertAdvisor (mql5) wich sometime crash and terminate! How to find bug?
Thanks to all!
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?!
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!