Can DMT interact with and display debugging messages from BPM custom code?

Hey, I just solved this meself!

I suppose all you elders are shaking your heads and smiling benignly, but this is pretty cool for me.

If I insert

 throw new Ice.Common.BusinessObjectException("triggered");

Into my code, I get a DMT debugging message thusly: