Debugger error: Expression could not be evaluated.

 

I'm receiving this error when debugging and indicator. I'm using MT4 build 1090 19 May 2017. I've tried the 

class CFix { } ExtFix;


fix but this did not work for me.

Any further ideas/fixes please? 

Debugger Output

 
Please don't double post.
 

I was using a template for the debugging session called Debug.tpl. Removing this fixes the issue. Seems like a bug and I've opened a ticket with Metaquotes.

 
imamushroom:

I was using a template for the debugging session called Debug.tpl. Removing this fixes the issue. Seems like a bug and I've opened a ticket with Metaquotes.

I kiss you all over! You have no idea, how long I searched for this solution. Years! To the point that I changed copies of my indicators to run as scripts, only to get grip of the variable-contents.

Never would have come to the idea to hold a template responsible. When I have some extra time, I gonna work through the template to find out which option is killing the watch-function.


Thanks a lot for posting your discovery!

 
Sya:

I kiss you all over! You have no idea, how long I searched for this solution. Years! To the point that I changed copies of my indicators to run as scripts, only to get grip of the variable-contents.

Never would have come to the idea to hold a template responsible. When I have some extra time, I gonna work through the template to find out which option is killing the watch-function.


Thanks a lot for posting your discovery!

No problem. I'm glad it was useful to you!

 
imamushroom:

No problem. I'm glad it was useful to you!

I was having the same problem. Deleting my debug.tpl template file solved the problem. It only seemed to be affecting indicators. Scripts were working OK. Thanks for posting this fix. It saved me many hours of frustration. 

Reason: