I wonder if you can achieve the same thing by inserting a debug class that replaces the original parent. That is, change the code to go from<p><pre><code> View <-- MyView
</code></pre>
to<p><pre><code> View <-- DebugView <-- MyView
</code></pre>
You might even be able to do this without decompiling the code.