- This topic has 7 replies, 2 voices, and was last updated 16 years, 6 months ago by Loyal Water.
-
AuthorPosts
-
erouseParticipantI remember being able to look at user sessions and the session attributes in debug mode. But that was a while ago and might not have been since I have been using MyEclipse (after 12 years it all starts to run together). Is there a way to look at the user sessions and the data contained therein with MyEclipse?
I am running a Resin 3 server from the IDE in debug mode.
Loyal WaterMemberIm sorry but I’m not sure what you are referring to over here. Are you referring to session variables ? Please correct me if I’m wrong.
erouseParticipantI am referring to request.getSession().getAttribute(“”); where request is an HttpServletRequest. I am trying to take a very large existing web app and get the session attributes to have a consistent naming scheme. It would be a lot easier to get the names from an active session and find them than to search the code for all instances of session.setAttribute. I am also trying to create a document that will list which attributes are used by each use case.
Isn’t documentation years after the fact fun 😉
Loyal WaterMemberYou can view this in the variable window in the debug perspective.
erouseParticipantThe variable window in the debug perspective is empty, as in no values at all. And I am running the server from the IDE in debug mode.
Loyal WaterMembererouse ,
The variable window will get populated with values when you hit a break point and step thorugh your pages.I hope we are on the same frequency.
erouseParticipantI think we are now. The one I remember didn’t require break points. It was possible to view the values during a working session. Now that I know that I need to stop the execution with a breakpoint in order to see the values, I think I should be ok. Would be nice to be able to view the values at any time, even if it were just a snapshot of the values at the time of the request.
And it was probably WSAD with IBMs app server that I was remembering.
Loyal WaterMemberYou will have to add a break point to view the variables.
Would be nice to be able to view the values at any time, even if it were just a snapshot of the values at the time of the request.
I’ll note this as a feature request.
-
AuthorPosts