frameobject.mark_stacks does not process exception handlers, so setlineno does not allow the debugger to jump within an except block.