0

In my java eclipse debugger the variables field is always empty and the step over and step into icons are disabled help me with this issues I did try all the options from google like adding checking variables attributes in preferences menu but am still unable to find a solution help me friends

Foolish
  • 3,952
  • 33
  • 46
  • Should I install eclipse again to set right my eclipse debugger – user3816171 Jul 14 '14 at 05:24
  • I tried with various codes that worked well for others and also in tutorials it worked well – user3816171 Jul 14 '14 at 05:26
  • already an answer here - eclipse-debug-mode-variables-not-showing : http://stackoverflow.com/questions/5490509/eclipse-debug-mode-variables-not-showing . It tell you to reset your persepective and other options such as Window --> Show View --> Variables. Try it out, and please check existing answers in SO before posting a new question. – spiderman Jul 14 '14 at 05:30

2 Answers2

0

This is a issue that is faced sometimes, somethings you might try out are:-

-> Close variable window and open again

-> Reset the perspective and see if variables now show up.

-> Close the variables tab and then reset the perspective, this should reopen the working variables tab.

-> If none of them still works , you can right click on the variable and select inspect, then it should come up in a popup window

Incase you do not know how to show vairables view, Window --> Show View --> Variables

Reference

Community
  • 1
  • 1
Mustafa sabir
  • 4,130
  • 1
  • 19
  • 28
  • Okay l try the clicking inspect as I'am done with other steps – user3816171 Jul 14 '14 at 05:31
  • good to help, However we should instead suggest this as duplicate and provide the actual SO thread as link in comments, rather than posting a portion of it as answer. – spiderman Jul 14 '14 at 05:34
  • Many answers on SO refer to other answers. Its a problem when you dont post a reference to the original question. Also the question might not be duplicate since the one referenced uses version Galileo(in this case user has not mentioned any version) and also has no mention of disabling of `step into/step over` items – Mustafa sabir Jul 14 '14 at 07:06
0

In order to see the value of variables, you have to set a breakpoint.

See the documentation here: EclipseDebugging

If you already set it, try resetting the perspective

Rcordoval
  • 1,932
  • 2
  • 19
  • 25