I just spent the day working up a 145 line error dump prg while tracking down some funky error while calling some DLLs. It works off ON ERROR and it turned out nice. Outputs the error stack same as the VFP dump you see when you get the dreded C5 errors. Optionally it can include status and memory listings. All goes to a text file. Example code at the top can be copied and pasted anywhere in your code to turn it on.
If people are interested I will upload it to the download area. Let me know.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn