It's not a secret anymore!
The moose likes Websphere and the fly likes Debugger of WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Debugger of WSAD" Watch "Debugger of WSAD" New topic

Debugger of WSAD

John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
I'm working on a Struts1.1 project using WSAD5.0.1. The debugger is not working right recently.

Normally, when I put a the mouse over a variable in debug mode,
the value of the variable will show up in a small yellow window, but now
nothing show up. I can not set watch on variables any more,
but I can still set break points and do "step into" and "step over"
in both server and application debug.

I think something is wrong with the WSAD configuration.
Could anyone help me on this?

I'm using WIN 2000 with a laptop which has 1GB RAM and a CPU of 1 GHz.
Is this because of the hardware?

David Hibbs
Ranch Hand

Joined: Dec 19, 2002
Posts: 374
You only get the mouse-over view of a variable value if the variable was declared locally, i.e. as a parameter to the method or is local to the method.

Otherwise, you can highlight it and select "Inspect" from the context menu to get the information.

This is also true of watches, I suspect. From the variables view tree, try locating your variable and creating a monitor/watch from there.

"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The team, Newsletter 039.
John King
Ranch Hand

Joined: Aug 27, 2002
Posts: 165
Thanks David.

Where is the context menu? I could not find it on my WSAD.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
context menu is the menu which pops up when you click with your right mouse button
I agree. Here's the link:
subject: Debugger of WSAD
It's not a secret anymore!