[Mono-dev] [PATCH] mdb, frame selection using f command

Martin Baulig martin at ximian.com
Wed Mar 28 09:17:17 EDT 2007


Hello,

On Tue, 2007-03-27 at 18:17 -0400, Miguel de Icaza wrote:
> Hello,
> 
> > Here is a patch to be able to switch the current frame with the
> > f/frame command. Is it ok to go in?
> 
> Sounds like a good idea to me.

Yeah, that's a really good idea.

> > Btw, it seems that when the "bt" command is used, the current frame is
> > re-initialized to 0, is it the desired behavior?
> 
> Sounds like an unintended side effect.

No, there's a reason for that: the `bt' command computes a new backtrace
so your current frame is gone after that.

We can change that to check whether we already have a backtrace and only
reset the frame when we compute a new one.

-- 
Martin Baulig - martin at novell.com
Novell GmbH, Düsseldorf
GF: Volker Smid, Djamel Souici; HRB 21108 (AG Düsseldorf)





More information about the Mono-devel-list mailing list