MQL5 Debugger disconnected and expert removed after F5

 

Hello,

I've a problem trying to debug EA. After I press F5 to start debugging on real data I see open chart in terminal and after that chart closes immediatly with error messages:

- MQL5 debugger disconnected

- Expert removed


I tested with different EAs and also I created an empty expert just for test. And I have same result.

I've tried already: 

- Fully reinstall terminal.

- Change broker account

- Search problem on this forum and outside.


One more thing is that in History Mode debug works well. Startegy tester window opens in visual mode and I can debug my EA. 


Appreciate ant ideas to fix the issue. Thx.

 
Reinstall MT5 and restart under admin rights. 
 
Oleksandr Medviediev #:
Reinstall MT5 and restart under admin rights. 

Thank you, gonna try to run with admin rights next time if the issue happen.

For now, I've found solution. It helps for me to uninstall MT5 and delete folder AppData/Roaming/MetaQuotes. After that clean setup works well.

 
One mote thing I've investigated. The Debugging mode stops working when I save my chart view template as Default. I don't no which option exactly causes an error, but reseting chart view options to default solves the issue.
 
Denis Kislicyn #:
One mote thing I've investigated. The Debugging mode stops working when I save my chart view template as Default. I don't no which option exactly causes an error, but reseting chart view options to default solves the issue.
Exactly, this is the cause, cost me two hours to figure out. Remove default chart template fixed this issue, definitely a bug of MT5 IDE.