In WL7 I have seen leftover messages generated by try/catch/print e.Message routine in the Debug Log. For example, if a symbol generates an exception it gets printed to the debug log along with the Symbol, as expected; now if I run the strategy on a 2nd symbol that does not generate an exception I can still view the previous symbol's error message in the debug log.
It seems the Debug Log clears *only* when a new print comes its way, o/w not.
WL6 had a simple way to clear the debug window:
ClearDebug();
Is there a WL7 equivalent?
It seems the Debug Log clears *only* when a new print comes its way, o/w not.
WL6 had a simple way to clear the debug window:
ClearDebug();
Is there a WL7 equivalent?
Rename
You can find an answer (whatever it is), either in the PDF or in the 6.9 QuickRef:
https://www.wealth-lab.com/Discussion/Quick-WL6-9-to-WL7-Translation-Guide-5548
https://www.wealth-lab.com/Discussion/Quick-WL6-9-to-WL7-Translation-Guide-5548
Seems like there's no equivalent - yet.
There are times when clearing the debug window is really needed. Hope the developers implement it some day or offer a workaround that achieves the same goal.
There are times when clearing the debug window is really needed. Hope the developers implement it some day or offer a workaround that achieves the same goal.
The Debug Log automatically clears with each backtest run. I can't see why we need a C# method to clear it?
I was debugging an error so I needed to to check whether I'd fixed it or not after making changes to the code.
If you fix the code correctly then the debug window does *not* get refreshed so the old error remains leaving one wondering whether it was fixed or not.
But... just discovered I can do so via Right-click option!
While that is nice it would be nicer if one can force a Clear via code.
If you fix the code correctly then the debug window does *not* get refreshed so the old error remains leaving one wondering whether it was fixed or not.
But... just discovered I can do so via Right-click option!
While that is nice it would be nicer if one can force a Clear via code.
Your Response
Post
Edit Post
Login is required