Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 568813

Summary: Empty inspect window and hover
Product: [Eclipse Project] Platform Reporter: Thomas Niedergesäß <thomas.niedergesaess>
Component: DebugAssignee: Lakshmi P Shanmugam <lshanmug>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bokix, comcortim, fishinear, ilg, ivanarce0, jonah, kerrykimbrough, sarika.sinha, sushmamg10, zakaria.belbah
Version: 4.18Flags: sarika.sinha: review+
Target Milestone: 4.18 M3   
Hardware: PC   
OS: Mac OS X   
See Also: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/172432
https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/172433
https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=d332c32a974566284216b90ab99de969f3478420
https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=1e760d286525d9efe492edf362ef64d8b4be684b
https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/176266
https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/176267
https://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=121fea857d6a9a82632a47a92773ab95802f76ad
https://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=dbbb93bc104e132c0f5ce1d1f4a7864e671a0f08
Whiteboard:
Bug Depends on: 567615, 567787    
Bug Blocks: 565691    

Description Thomas Niedergesäß CLA 2020-11-14 13:08:40 EST
After the recent update to Mac OS Big Sur I can’t debug my java projects with Eclipse 09-2020. If I try to inspect the value of any expression, I just get an empty window. I’m working with AdoptOpenJDK 11.

Also I have got scrolling problems stepping through break points (next command).
Comment 1 Kerry Kimbrough CLA 2020-11-14 17:11:22 EST
I'm seeing the same problems. In particular, when debugging and stepping through the code, the code window does not refresh properly. What's shown is a garbled mixture of non-adjacent code lines.

Because this is a serious impact to critical features, it deserves immediate attention.

I'm using Oracle jdk1.8.0_162 on MacOS Big Sur.
Comment 2 Sarika Sinha CLA 2020-11-16 06:54:18 EST
SWT is working on these refresh issues.
Comment 3 Eclipse Genie CLA 2020-11-18 08:34:15 EST
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/172432
Comment 4 Eclipse Genie CLA 2020-11-18 08:37:27 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/172433
Comment 5 Sarika Sinha CLA 2020-11-18 08:42:03 EST
@Jonah,
Will you/your team be able to test it for C++ hover popup with Big Sur?

We are seeing the issue with JDT, and we are proposing a workaround fix in Platform and JDT. Will it be possible to test with the platform patch?
Comment 6 Lakshmi P Shanmugam CLA 2020-11-18 10:13:21 EST
(In reply to Kerry Kimbrough from comment #1)
> I'm seeing the same problems. In particular, when debugging and stepping
> through the code, the code window does not refresh properly. What's shown is
> a garbled mixture of non-adjacent code lines.
> 
> Because this is a serious impact to critical features, it deserves immediate
> attention.
> 
> I'm using Oracle jdk1.8.0_162 on MacOS Big Sur.

The editor refresh issues have been fixed via Bug 567615.
Updating bug title accordingly.
Comment 7 Jonah Graham CLA 2020-11-18 10:17:21 EST
(In reply to Sarika Sinha from comment #5)
> @Jonah,
> Will you/your team be able to test it for C++ hover popup with Big Sur?

I have no access to macOS - and I am a team of one :-)

Some other active members in the CDT community may have knowledge/ability in this area, you can send a request to cdt-dev@ to ask for help (or I can if you are not subscribed). In the meantime I added Liviu to the CC list, he is the most active macOS person in the community that I know. Perhaps he has time to help?
Comment 8 Liviu Ionescu CLA 2020-11-18 10:22:07 EST
I am glad to be of any help with macOS tests, but for now I did not upgrade to macOS 11. :-(
Comment 9 Lakshmi P Shanmugam CLA 2020-11-18 10:30:03 EST
@Sarika, this issue looks bad on BigSur which released last week. It would be good if we can push this change for M3 so that it gets some testing.
Comment 10 Sarika Sinha CLA 2020-11-18 10:36:22 EST
(In reply to Lakshmi P Shanmugam from comment #9)
> @Sarika, this issue looks bad on BigSur which released last week. It would
> be good if we can push this change for M3 so that it gets some testing.

Agreed. We will get a better audience for testing if included in M3.

@Liviu,
If you have access to BigSur, can you test hover while debugging a c++ project with 4.18 M2 build and then with 4.18 M3 build.
Comment 13 Jonah Graham CLA 2020-11-18 10:37:53 EST
(In reply to Sarika Sinha from comment #10)
> @Liviu,

Liviu mentioned in Comment 8 that he can't. Sorry :-(
Comment 14 Sarika Sinha CLA 2020-11-18 10:41:00 EST
(In reply to Jonah Graham from comment #13)
> (In reply to Sarika Sinha from comment #10)
> > @Liviu,
> 
> Liviu mentioned in Comment 8 that he can't. Sorry :-(

Ok. Then you can send a mail to cdt-dev after M3 for some testing from the community.
Comment 15 Jonah Graham CLA 2020-11-18 10:54:20 EST
(In reply to Sarika Sinha from comment #14)
> Ok. Then you can send a mail to cdt-dev after M3 for some testing from the
> community.

Done. Once M3 is out I can ping anyone who responds to: https://www.eclipse.org/lists/cdt-dev/msg34740.html
Comment 16 Lakshmi P Shanmugam CLA 2020-11-19 06:22:22 EST
Verified in I20201118-1800.

Empty hover issue is fixed now. Empty Inspect dialog is tracked via Bug 568932.
Comment 17 Sarika Sinha CLA 2020-11-20 05:06:00 EST
*** Bug 568975 has been marked as a duplicate of this bug. ***
Comment 18 Belbah Zakaria CLA 2020-11-22 10:10:33 EST
Tested with macOS Big Sur and eclipse 2020-12 M3, the bug is fixed
Comment 19 Sarika Sinha CLA 2020-11-25 11:23:40 EST
*** Bug 569164 has been marked as a duplicate of this bug. ***
Comment 20 Lakshmi P Shanmugam CLA 2020-12-04 07:37:22 EST
*** Bug 569139 has been marked as a duplicate of this bug. ***
Comment 21 Sarika Sinha CLA 2020-12-07 13:30:51 EST
*** Bug 569485 has been marked as a duplicate of this bug. ***
Comment 22 Eclipse Genie CLA 2021-02-15 04:54:38 EST
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.debug/+/176266
Comment 23 Eclipse Genie CLA 2021-02-15 04:55:01 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.debug/+/176267
Comment 26 Sarika Sinha CLA 2021-02-15 07:27:01 EST
 Bug 567787 has fixed the issue in the proper way so reverted workarounds for 4.19 M3.