Hi Samo
In debug mode, the compiler emits debug symbols for all variables and compiles the code as is; however, in release mode, certain optimizations are included:
· Variables that aren't being used were not compiled at all.
· The code written in response to the #debug directive is not included.
· If the compiler determines that any loop variables are invariants, they are excluded from the loop.
As a result, the delay is absent in release mode. If you still expect the same results while debugging, please do post your application scenario along with chart-related code snippets, it will help us to validate and provide any possible suggestion.
Regards,
Saravanan