Is there a way to determine the total stack size available and consumed by the variables in the program?
Same for the memory i.e total available and consumed by the program? It seems there's a stack overflow or the program is accessing something beyond its limit which is resulting in garbage characters in debug print viewer.