I have a question. How to know maximum stack of my program and stack overflow? beacause my program can lock when power have unstatable.
"having the CPU monitor itself for improper behavior won't work" Not only are you trying to have the CPU monitor itself for improper behaviour, but you are trying to have the CPU monitor itself for improper behaviour whilst behaving improperly!!! :-0 The word "Doomed!" springs to mind...