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 trialDerek Markman
16,291 PointsWhen I debug my Java platform SE binary keeps crashing.
I went through the videos again just to make sure my code is correct, I'm not getting any errors and the debugging button works normally without the break point on it, but, once I place the break point on the println statement and then click on the debugging button my Java platform SE binary will instantly crash. Anyone have any idea why this is happening? Thanks in advance, Derek.
2 Answers
christopherkaczenski
16,079 PointsWhen the debugger has paused the execution of the program, the application will not be responsive. That doesn't necessarily mean it has crashed. Try executing the prepareAttempt(AttemptKind.FOCUS) function using Evaluate Expression as shown in the video, then press "Resume Program" button on the IDE (F9 on windows). The app should reflect change when the program resumes.
supniger
4,511 PointsThanks, worked for me!
kabir k
Courses Plus Student 18,036 Pointskabir k
Courses Plus Student 18,036 PointsHI Christopher,
How do you get the Evaluate Expression tool to be re-enabled after doing the FOCUS part of the debugging so that one can continue with the BREAK part of it? Mine was disabled after doing the FOCUS one.