Link to home
Start Free TrialLog in
Avatar of KPax
KPax

asked on

Opening new tab in eclipse when entering new class during debug

Is there any setting to make Eclipse automatically open new tab when while debugging enter into new class?
I.E.  Assuming that my debug perspective is open, if I am now in class "Table.java" and while Steeping over (F6) or Resume (F8) debugger enters new class Table2.java, I want it to open new tab for that class.
Avatar of Mark Bullock
Mark Bullock
Flag of United States of America image

If you are stepping through your code, and you have the source code, stepping into a new class should open the source file for that class to show you where your program is stopped.
If you Resume (F8), Eclipse will not display the code that is executing until it stops at the next breakpoint.
Avatar of KPax
KPax

ASKER

Mark, that is not a problem. I want eclipse to open new tab (in debugger editor window) for each new class that debugger steps into, instead of just swapping the code in that one single tab. I notice that sometimes eclipse opens a new tab  when debugger enters new class. Just to be sure that we understand each other here is picture:

User generated image
Let's say that debugger is into Decoder.java and taht after a while it will step into TextDemo.java.
Right now, there will be no two tabs opened - there will be single tab.
When debugger steps into TextDemo, tab which now shows Decoder will just change to TextDemo, UNLESS I manually open additional tab so that I can switch between them.  

Now THIS is what I need - eclipse opening new tab as soon as debugging process enters into new class. It is irevalent whether I am using Step Into, Step Over, Resume...
User generated image
ASKER CERTIFIED SOLUTION
Avatar of Mark Bullock
Mark Bullock
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial