Debugger error: Expression could not be evaluated.

To add comments, please log in or register
imamushroom
179
imamushroom  

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

Alain Verleyen
36052
Alain Verleyen  
Please don't double post.
imamushroom
179
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.

Sya
77
Sya  
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!

imamushroom
179
imamushroom  
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!

wilsonts
45
wilsonts  
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. 

To add comments, please log in or register