java - Can't check instance variable values in static method in Eclipse debugger -


i want keep track of values of instance variable, , breakpoint starts @ static method. can't check instance variable value. there way that? searched on google, found no clue.

is because instance can't accessed in static method?

you pass variable tracking method. although make note every time can remove when done testing.

but honestly, if don't have access variable within method, won't change time have exited method, unless have multiple threads. therefore, can set breakpoint after/before method called.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -