One thing that could be greatly improved is error reporting. (I know, errors would not exist in a perfect world! )
For instance, in the log, and error such as this is generated
2017-03-15 08:58:23:189 Gui.Chart.Direct2DForm.RenderToTarget.ERROR: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.ThrowHelper.ThrowInvalidOperationException( ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Enumerator .MoveNext()
at NinjaTrader.Gui.Chart.Direct2DForm.RenderToTarget( RenderTarget renderTarget)
2017-03-15 08:58:23:190 ERROR: Chart rendering to a software bitmap failed. There is likely a problem with a chart object's render method. D2D error = 'Collection was modified; enumeration operation may not execute.'
Now, I have around 25 windows open on multiple monitors.
If, as most the feedback I get suggests this was an error related to an indicator, or some of my code for example, or something unique to me, which window/chart is the cause? I cannot know?
If the error recording were to report which window the error occured on, it would greatly help narrow down any bugs in either the product or user code.
If there is a way to figure this out already, please let me know.
Comment