• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

debug issue...how to see the value of a variable while debugging

 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All
I am novice to WSAD.I want to debug the code in WSAD .I set a breakpoint in a action class to view the value of a variable

objIdentificationTo.setStatus(identificationForm.getStatus());

When i start the server on debug mode, i can step into the code, but i cannot find the value of the variable 'status' in the variables tab.

Could someone tell me how i could do this?

thanks in advance
Regards
samir
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I assume you are looking for an instance variable named 'status', not a local variable? Then scroll up to the top of the variables pane, and open the tree nodes under the object that is 'this' at the moment. It should be under there.
 
reply
    Bookmark Topic Watch Topic
  • New Topic