Reinstall MT5 and restart under admin rights.
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.
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.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.