T
TrevorBoydSmith
While debugging, How would you make sure that you can view the local
('auto' qualified) variables in your debugger's variable window?
I know of a couple cases where the local variables aren't available for
debug viewing:
-It seems to only let you see the local variable when you are on the
original static main that the thread was started in (Or to be more
general, instead of the main... lets just say the original method that
spun up the new thread)
-as soon as you leave the static main and go to an object's constructor
you can't see the local variables (or so it seems i haven't tested
throughly)
Debugger: Eclipse 3.2
In eclipse, when you can not view the local variables in the debug
variable window there is a message that states "local variables
unavailable" next to the current stack for the thread you are on.
('auto' qualified) variables in your debugger's variable window?
I know of a couple cases where the local variables aren't available for
debug viewing:
-It seems to only let you see the local variable when you are on the
original static main that the thread was started in (Or to be more
general, instead of the main... lets just say the original method that
spun up the new thread)
-as soon as you leave the static main and go to an object's constructor
you can't see the local variables (or so it seems i haven't tested
throughly)
Debugger: Eclipse 3.2
In eclipse, when you can not view the local variables in the debug
variable window there is a message that states "local variables
unavailable" next to the current stack for the thread you are on.