Bug 461270 - [1.8] Cannot inspect field in interface static method
Summary: [1.8] Cannot inspect field in interface static method
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-03 03:35 EST by Noopur Gupta CLA
Modified: 2023-06-10 15:40 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noopur Gupta CLA 2015-03-03 03:35:51 EST
package p;

public class C {
	static int x = 0;

	interface I {
		static void m1() {
			x++;
		}
	}

	public static void main(String[] args) {
		I.m1();
	}
}

-----------------------------------
- Set breakpoint at x++ and debug.
- In debug mode, press Ctrl+Shift+I to inspect 'x' => We get the message: "x cannot be resolved to a variable".
Note that hover on 'x' works to show its value.
Comment 1 Eclipse Genie CLA 2019-06-13 17:41:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Sarika Sinha CLA 2019-06-14 06:14:37 EDT
This problem is still there.
Comment 3 Eclipse Genie CLA 2021-06-04 15:18:56 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Sarika Sinha CLA 2021-06-06 14:52:48 EDT
Problem still exists.
@Gayan,
Do you have time to look into this?
Comment 5 Eclipse Genie CLA 2023-06-10 15:40:54 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.