Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Execute disabled in Display View(Can't execute statements in Display View)
Execute disabled in Display View [message #698429] Tue, 19 July 2011 13:08 Go to next message
Leo  is currently offline Leo Friend
Messages: 1
Registered: July 2011
Junior Member
Hi, when i first got started with java and eclipse, the tutorials guided me through using the Display View as an "immediate window" to execute code snippets and expressions.

but now that i'm working on my own app, at some point along the way, the Execute button became disabled and i can't figure out why or how to get it back on. i've closed all of my projects, thinking maybe an open file with a syntax error could cause it, but that hasn't worked.

hope this is super simple given that i'm so new at Eclipse. thanks!
Re: Execute disabled in Display View [message #698838 is a reply to message #698429] Wed, 20 July 2011 11:02 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 19.07.2011 15:08, Leo wrote:
> Hi, when i first got started with java and eclipse, the tutorials
> guided me through using the Display View as an "immediate window" to
> execute code snippets and expressions.
>
> but now that i'm working on my own app, at some point along the way,
> the Execute button became disabled and i can't figure out why or how
> to get it back on. i've closed all of my projects, thinking maybe an
> open file with a syntax error could cause it, but that hasn't worked.
> hope this is super simple given that i'm so new at Eclipse. thanks!

When the VM suspends a thread (due to hitting a breakpoint or stepping
through code), you can evaluate expressions in the context of a stack
frame. The Display view can only be used during that time.

Dani
Previous Topic:Eclipse periodically reports "Could not retrieve superclass"
Next Topic:3.6.2 on Linux 'Welcome' pane suffers error
Goto Forum:
  


Current Time: Sat Apr 27 03:08:11 GMT 2024

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

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

Back to the top