Skip to main content



      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 08:06 Go to next message
Eclipse UserFriend
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 12:16 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 05:03:27 EDT 2025

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

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

Back to the top