Subject: Re: bug#13336: `next-frame' should not choose the *Backtrace* frame while debugging

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 23 Aug 2021 16:37:50 +0200

"Drew Adams" <[email-masked]> writes:

> Set `special-display-regexps' or other so that `*Backtrace*' gets
> displayed in its own (special-display) frame.
>
> Evaluate the source code for `next-frame', then
> M-x debug-on-entry next-frame, then C-x o.
>
> When stepping through the debugger, the next frame should never be
> *Backtrace* (unless a *Backtrace* frame existed before invoking `next
> frame'), but it can be.  This is a bug IMO.

I don't think so.  There's a gazillion things you can do while
edebugging that will make stepping through the code not behave like it
would otherwise (moving frames to different terminals, closing frames,
opening new frames, etc).  Adding something special here for *Backtrace*
would just be confusing, so I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no