Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Why are (static) variables not show in Variables pane during Debug?
Why are (static) variables not show in Variables pane during Debug? [message #718813] Thu, 25 August 2011 12:06 Go to next message
Ben StoverFriend
Messages: 108
Registered: January 2010
Senior Member
I have a java application with the simplified code like:

public class xxxx {
static int aaa = 777;
static boolean myboo = true;
public static void main(...) { }
}

When I enter now Debug session and start to debug code beginning in the "main()" class then neither the variables aaa and myboo nor their values are shown in the "Variables" section/window.

Why?

I guess its because they are defined static?
How do I tell Eclipse to show static variables as well?

Ben
Re: Why are (static) variables not show in Variables pane during Debug? [message #718943 is a reply to message #718813] Thu, 25 August 2011 16:16 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Turn on Show Static Variables in the Java section of the Variables View menu.
Previous Topic:problems with EclipseShell (BeanShell)
Next Topic:How to define CTRL+E as "delete whole current line" cmd in Editor?
Goto Forum:
  


Current Time: Fri Apr 19 22:55:02 GMT 2024

Powered by FUDForum. Page generated in 0.02700 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top