Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-debug-dev] Two pane debug editor.

I have a two pane debug editor for which I need to scroll each pane
separately whenever a new stack frame is selected.  What I was considering
doing is the following:

1. Create a special editor input which contains both of the files.
2. The line number returned by the stack frame will be defined to be the
line number for the first pane.
3.  Whenever the editor is told to scroll to a line it calls a special api
on the current stack frame to get the line number for the second pane.
4.  When a user double clicks on a breakpoint in the breakpoints view the
two pane editor will not be used since the breakpoint is located in one
file only.  The editor for that individual file will be used, this means
that a separate tab will be brought up even if that file is already
displayed in one of the panes of the two pane editor.

Can anyone think of a reason why this would not work or does anyone have
any suggestions for a better way to do this?

Could an Eclipse feature be opened to support this kind of situation better
some time in the future?

Thanks.


- Erin




Back to the top