Debugging EA

 
Anyone have effective strageies to debug Expert Advisors.

Is there anyway to set a breakpoint and examine variables -- a basic debugger?

Currently I am setting values in global variables and examining them. I could also write them to a log file, I guess.

But is there a better way?
 

There is no debugger for MQL4

Use Print, Comment, FileWrite etc

Reason: