Reverse debugging is broken on release and stable branches
Description of problem
Master branch has commit 94962ff0, which reverts incorrect commit and fix reverse debugging. But this commit is missing in 9.0.x 9.1.x releases branches and in stable branches too.