http://fileuniverse.com/?p=showitem&ID=1367
I've postet some tools I use for debugging my ai, cleaned for you other developer out of there. nothing special, also maybe a bug slip trought...
They're a GlobalAIDebug and a GlobalAICallbackDebug class that act as "middleware" betwen your ai and the spring engine, catching ("hopefuly TM") most of error and exception, trying to prevent crashes, and logging errors. If you find them useful let me know, I plan to post other tools as i perfection them.