I'll grab the source and see what I can accomplish.
I suggest using the AS6 source (http://anonsvn.jboss.org/repos/jbossas/trunk/) and setting it up in IDE.
e.g. I use IntelliJ' remote debugging, very trivial to setup (see JBoss' run.conf script at the end with commented remote debug line)
(if the issue is in AS6 then it will be also in AS5.1)