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

Jb Evain jb at nurv.fr
Thu Mar 29 05:05:59 EDT 2007

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: backtrace.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070329/4d43a221/attachment.bin 

More information about the Mono-devel-list mailing list