Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Build a JavaFX Application Build a Pomodoro App Build the State Change Events

kabir k
PLUS
kabir k
Courses Plus Student 18,036 Points

My `Evaluate Expression...` tool got grayed out and I can't reuse it

I was able to do the first part of prepareAttempt(AttemptKind.FOCUS) method in the Evaluate Expression... of the IntelliJ IDEA but at the 12:35 mark of the Build the State Change Events video, my Evaluate Expression... tool got grayed out and I was not able to do the BREAK part of it like Craig did his.

Does anyone know what steps to take to have it re-enabled so I can continue with the BREAK part of the debugging? I'm on a Mac, thanks.

Laith Mohammad
Laith Mohammad
6,569 Points

Hi, you have first to add a break point next to System.out.println("Hi Mom"); , debug the application and click on the debug button, note that you can download the project files of the next video.

4 Answers

Thomas Lian ร˜degaard
Thomas Lian ร˜degaard
9,540 Points

You would need to press the DEBUG button inside the Pomodoro windows that pops up. You will be able to use Evaluate Expression after that.

Mojo Waters
Mojo Waters
5,748 Points

What are you guys talking about? I am having the same problem. What pomodoro windows. YOu mean like in output? how it's not even running. Pretty messed out here :/

Mojo Waters
Mojo Waters
5,748 Points

no it still views BREAK as method. IT actually wants to add methond body to it. Drives me nuts :(

Laith Mohammad
Laith Mohammad
6,569 Points

Mojo , just download the source code lol :D

Mojo Waters
Mojo Waters
5,748 Points

You alll right Laith :) You mean like downloand s3v2 and do it all over? Or is there a full already made code available?