Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when using 2 Eclipse windows - Variable values shown in wrong window (editor)

former_member198151
Participant

Hello all!

I have been using ABAP in Eclipse for some time already, finally we also have to use it on some newer systems, where Eclipse comes really handy.

Currently I'm facing followig problem: As I'm using 2 monitors, I have opened 2nd Eclipse window (Menu Window -> new window). This second window is constantly switched to debug perspective. When I start some program in the first window, it will correctly initialize the second debug perspective window, and it is possible in the second window to trace program like always. However, when I hover mouse over some variable, it's value is not displayed. I have to go to the first window, focus it (click in source code editor) and there when hovering mouse over the variable I get the value displayed.

Same situation is with putting Variables to "Variables view" - double click in debug perspective doesn't work, but double click in the first window works.

Has anyone experience using 2 Elcipse windows? Is it possible to solve this somehow? Also perfect would be, if in the first window only my application is displayd and not editor with the current instruction pointer (it is enought that in the second window with debug perspective intruction pointer follows the source code).

Thank you in advance!

O.

P.S.: I'm using Eclipse Photon Version: 2018-09 (4.9.0) with ABAP Development Tools 2.96.3

2 REPLIES 2

former_member198151
Participant
0 Kudos

One thing I have just found out: If I close the debug perspective in the first window (right mouse click on the perspective icon->Close), source is no longer opened in the first window. However variable values on hover are still not displayed and what is worse, it happens, that also all the variables in the "Variables" view dissapear.

Have a nice day!

O.

Armin_Beil
Product and Topic Expert
Product and Topic Expert

Hi Ondrej,

the issues is reproducible for me and I can confirm that this a bug in the ADT debugger (2nd window offers no hover / no reaction on double click). I think we can fix this with one of the next ADT releases, but I cannot promise a delivery date for the correction yet.

I did not completely understand the second issue "Variables disappear". Can you describe in more detail how to reproduce the disappearing variables or how it looks like once they disappeared? Is the view absolutely empty (only white area) or is there still an empty grid left?

If the view is completely empty (just white area) then you maybe lost the selection in the debug view. The debug view (not perspective) shows representations for all of your current debug sessions, e.g. in case you have multiple debug sessions in parallel. By selecting one of them in the debug view you tell the IDE which debug session you currently want to work with. The rest of the IDE then relates to that selected debug session, that means variables view shows the variables of that selected debug session, step commands are sent to that selected debug session, etc.

Best regards,
Armin