Hello Lex,
Usually, the variables are allocated from the bottom of the RAM, whilst the stack goes from the TOP.
I can advise to configure the debug module to interrupt if there is an access in the variable space +1 or the stack space -1.
I mean, you keep one byte in the middle that should never be accessed, otherwise it means not enough RAM and/or stack corruption.
If the breakpoint is triggered, your break module knows there is something wrong.
Otherwise, it is very difficult to observe in a real life application.
Cheers,
Alban.