Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 689211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:18:32+00:00 2026-05-14T02:18:32+00:00

Is it possible in Eclipse to have a Console, where when in Debug mode

  • 0

Is it possible in Eclipse to have a Console, where when in Debug mode I can try out things? Like in python, where I can type at any moment for example 1+1 or myVariable.toString(), etc? C# has a similar concept with the F# shell.

I’d like to inspect my variables at run-time and try out some methods, having that kind of console would be of great help.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T02:18:32+00:00Added an answer on May 14, 2026 at 2:18 am

    Eclipse has the Display view, where you can enter (almost) arbitrary Java expressions and have them evaluated whenever you are in a breakpoint.

    To have any expression evaluated select it (either in the Display view itself, or any open Java source file) and push one of the “inspect”, “display” or “evaluate” buttons.

    • “inspect” executes the expression and shows the resulting value in a pop-up inspection view (similar to the Variables view).
    • “display” executes the expression and prints the resulting value into the Display view
    • “evaluate” executes the expression and does nothing else

    There some very good help on debugging in Eclipse, specifically about inspecting variables and evaluating expressons.

    If you want to test the behavior of some Java code while you’re not debugging, then you might want to look into the Scrapbook feature.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible in Eclipse to have some kind of packages (sets of projects)
Is it possible to create Eclipse plugins that auto-discover eachother? I am developing a
Possible Duplicate: SVN plugins for Eclipse - Subclipse vs. Subversive I've been using Subclipse
Is it possible to suppress warnings in Eclipse for JDK1.4 project? EDIT: Longer version.
Is it possible with Axis2 and Eclipse to generate a Web Service client and
Is it possible to add custom command-line arguments to an Eclipse .app folder? In
Is it possible to use a Spring container for DI from inside Eclipse plugins?
I have installed Eclipse 3.5.2 and the JDK for Java 6. Here's my installed
I have a Java Eclipse project, but I don't run it from the command
I have just started with android in Eclipse and now i want to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.