[comp.sys.amiga.tech] Crash trapping

GHGAPAR@BLEKUL11.BITNET (Tyberghein Jorrit) (03/15/90)

I'm writing a program to monitor system performance (something like
Xoper, only better I hope :-) I want to trap crashes. I already trap
the simply hardware crashes (crashes which result in a 'Task held'
rather than a 'GURU'). These were very easy to trap. Just point
the exception vectors to my code. The problem is that I want to trap
guru's (for example a 81000009 or 'free twice'). These crashes do
not result in a trap to one of the hardware exception vectors.
I think they use the exec function 'Alert'. I have tried to SetFunction
the Alert function but it still didn't work (the guru's keep coming).
Maybe I did something wrong, but I'd like your comments about this.
Am I doing this in the right manner or should I do it in another way.
I know it is possible because GOMF does trap real guru's.

                                 Tyberghein Jorrit