Currently, Debugger.stack will be empty when entering post-mortem, leading to IndexError when user tries to expand variables in the Variables window.
This commit fixes that by restoring Debugger.bottom_frame to Debugger.stack.
This actually isn't right. Post-mortem mode also kicks in if the debuggee runs into an exception. Your proposed change appears to break inspecting the stack in that situation.
Currently,
Debugger.stack
will be empty when entering post-mortem, leading toIndexError
when user tries to expand variables in the Variables window. This commit fixes that by restoringDebugger.bottom_frame
toDebugger.stack
.fixes #233