Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Mark stack frame in Debugger
Mark stack frame in Debugger [message #333598] Thu, 18 December 2008 09:26 Go to next message
Eclipse UserFriend
Originally posted by: thomas.maurer.nospamierax.ch

Hello

My program has algorithms that are heavily recursive over several methods
(e.g. A->B->C->A->B->A->B etc.). Quite often I would like to set a
breakpoint for a very specific stack frame. Can I do that already? I know
about the "drop to frame" function but this is not very helpful for two
reasons:

1) The marking has to be done before one "dives deeper" into further
recursive function calls to mark the point in the stack where one is now and
that one wants to break when ones come back to this point.

2) Drop to frame will stop if there is a breakpoint "on the way down" and
then you have to look for the correct frame again.

If that is not possible would it make sense to even think about implementing
this myself and contribute it to the platform project?

Thomas
Re: Mark stack frame in Debugger [message #333616 is a reply to message #333598] Thu, 18 December 2008 14:28 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 12/18/2008 4:26 AM, Thomas Maurer wrote:
> Hello
>
> My program has algorithms that are heavily recursive over several methods
> (e.g. A->B->C->A->B->A->B etc.). Quite often I would like to set a
> breakpoint for a very specific stack frame. Can I do that already? I know
> about the "drop to frame" function but this is not very helpful for two
> reasons:
>
> 1) The marking has to be done before one "dives deeper" into further
> recursive function calls to mark the point in the stack where one is now and
> that one wants to break when ones come back to this point.
>
> 2) Drop to frame will stop if there is a breakpoint "on the way down" and
> then you have to look for the correct frame again.
>
> If that is not possible would it make sense to even think about implementing
> this myself and contribute it to the platform project?


I don't know of any existing functionality like that, but I want to
encourage you to look into contributing it. It is not the simplest thing
to undertake as an outsider contribution but if you're motivated it
seems well within the range of "doability."

The project only improves if community members and users contribute back
to it, and implementing new features is a great way to contribute.

Eric
Previous Topic:Error not displayed in the console (Mac OS X Leopard)
Next Topic:Enablement of contributed actions
Goto Forum:
  


Current Time: Sat Nov 02 17:14:52 GMT 2024

Powered by FUDForum. Page generated in 0.02980 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top