Absolutely perfect! What a great chunk of code!
I do build my war using Maven and I had copied the WEB-INF/crash/commands directory.
I installed the was you provided and after seeing it work I started looking at the differences between my war and the posted one and noticed that I did not have
# VFS configuration
crash.vfs.refresh_period=1
in my crash.properties file.
I have not had a chance to look into the code that uses that yet but that was all I had to change and after a few hours of playing with the shell it looks like this is exactly what I was looking for. Without any modifications I am already able to access everything I want to now. Most of my code is Singleton and static producer consumer type stuff so this just seems to play well with that architecture out of the box.
Now on to learn more groovy.
Cheers Julien,
I hope to come back soon with some contributions.
- Brian