| Re: .0
>1) Are there any tools that hook into the Amiga's exception vectors
>to provide better error handling?
There is a commercial program called "GOMF!" (for Get Out of My Face)
that does just that. It links into all for exception vectors to
give you a chance to recover from problems. Recommended.
>2) Are there any tools like lib$show_vm that can help detect
>memory leaks?
>4) Are there any memory allocation/deallocation tools that can help with
>debugging possibly by using the MMU?
I've seen various PD programs that do various things:
From Fish disk 27
SafeMalloc Ever have a program that corrupts it's own memory? Well,
this little gem can help you find the problem in a hurry.
Acts as an interface between your program and the real
malloc, checking for overrun, underrun, and duplicate
freeing of malloc'd space.
Author: Bjorn Benson, modifications by Fred Fish
3) Are there any tools that can use the MMU to provide some sort of
protection against renegade programs.
Amiga Unix.
More seriously, I don't know of any such use of the MMU. However,
there are a few pure software solutions:
From Fish 87:
MemWatch Memwatch is a program intended to sit in the background
and watch for random trashing of low memory by an
application under development. If it detects a write
to low memory, it repairs it to what used to be there,
then puts up a requester indicating what damage had been
done. Very useful!
Author: John Toebes
MemWatch is shipped on the Lattice C disk as an example program.
GOMF! will also do this checking for you.
|