Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
Java Platform Debugger Architecture (JPDA) [ARCHIVE]
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jun 2, 2008 11:06 AM by
Best way to get the values of local variables
Jun 1, 2008 3:06 PM
What is currently the best way to get the values of local variables. I know it is not currently possible to set watchpoints on local variables, but what are the best workarounds?
This content has been marked as final.
Show 1 reply
Re: Best way to get the values of local variables
Jun 2, 2008 11:06 AM
in response to
You have to use StackFrame methods, eg, visibleVariables and getValues. To get a StackFrame for a thread, that thread has to be suspended, eg, by a BreakpointEvent.