Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Change Variable Value

Select the Change Value... command [ Change Variable Value ] to open a dialog in which you can change the value of the the selected variable or register.

In the Variables View, if variables are displayed in the column form, variable values can also can be changed by directly editing the value in the column.

When debugging a Java program, there are three different types of dialogs that this command can open.

The Change Primitive Value Dialog is used to change the value of a primitive such as an int, long, or char.

Change Primitive Value Dialog

The Change Object Value Dialog is used to change the value of an Object. There are two forms of this dialog.

For most objects you must enter an expression that will be evaluated to generate the resulting value.

Change Object Value Dialog - Expression

However, when editing Java Strings, you may also enter literal text.

Change Object Value Dialog - Literal Text

This command applies to:

Related Tasks

Evaluating Expressions


  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire