[Mono-dev] [PATCH] mdb, frame selection using f command
martin at ximian.com
Wed Apr 4 07:06:37 EDT 2007
your patch was incorrect since it didn't solve the underlying problem:
recomputing the backtrace when it's not necessary to do so.
I fixed that in SVN.
On Thu, 2007-03-29 at 11:05 +0200, Jb Evain wrote:
> Hi Martin,
> On 3/28/07, Martin Baulig <martin at ximian.com> wrote:
> > > > 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.
> Here is a patch not to change the current frame when the «bt» command
> is used. Let me know if it's ok to go in, or if there is a better way
> to achieve this.
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