Skip to main content



      Home
Home » Newcomers » Newcomers » Watching a stateful session bean
Watching a stateful session bean [message #251532] Thu, 13 March 2008 14:52 Go to next message
Eclipse UserFriend
Hi,

I'm using eclipse 3.3.1.1 with jboss as 4.2.2
I'm able to run the server in debug mode, and watch the variables when
paused on a breakpoint.

But I like to watch an object (a session bean) not just when I'm on a
breakpoint but when I navigate through web pages... I think it is
reasonable, cause a session bean is located on the memory through a
session, and it's never gc'ed..

But as I press resume, the object disapears from the variables (or
expressions) view?
Re: Watching a stateful session bean [message #251536 is a reply to message #251532] Thu, 13 March 2008 15:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Ziphyre Marco" <ziphyre@gmail.com> wrote in message
news:5c72b79b3f1f10d2dff4c07d22f74c15$1@www.eclipse.org...
> [...]
> But as I press resume, the object disapears from the variables (or
> expressions) view?

You can't view variables while executing, only while stopped at a
breakpoint. If the UI had to check whether to update the debug variable
view after every instruction, the speed of execution would slow drastically.

You may be able to get something like what you want by creating a field
watchpoint on the bean's fields to stop execution (and thus update the debug
variables display) whenever it is modified.
Re: Watching a stateful session bean [message #251569 is a reply to message #251532] Fri, 14 March 2008 03:05 Go to previous messageGo to next message
Eclipse UserFriend
you can set many breakpoints, press the resume to the next
breakpoint,when stop at one point you can watch the object.and step by
step,you can find whether the object change.
Re: Watching a stateful session bean [message #251572 is a reply to message #251532] Fri, 14 March 2008 04:12 Go to previous message
Eclipse UserFriend
Ok, thanks...
Previous Topic:ViewerFilter
Next Topic:Open Implementation through interfaces
Goto Forum:
  


Current Time: Tue May 13 18:36:04 EDT 2025

Powered by FUDForum. Page generated in 0.08188 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top