Stack Overflow Detection Using Data Breakpoint

You can decide on maximum stack size for your application and calculate the approximate end address for the stack.

In the end address, set the data breakpoint for address range by applying address mask and access type as Read/Write.

Note: The above method may cause a false break when heap memory tries to access the specified stack end address.