My old code worked for me on a project that was compiled against 2.10. Have you tried going back to using failedCodeStackDepth and then resolving the stack frame?