Mark stack frame in Debugger [message #333598] |
Thu, 18 December 2008 09:26 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02892 seconds