This discussion is archived
0 Replies Latest reply: Jun 1, 2012 5:12 PM by 941215 RSS

JDI: AbsentInformationException when getting local variables

941215 Newbie
Currently Being Moderated
I am writing a Debugger prototype for and need to get local variables at breakpoints. I am using StackFrame.visibleVariables() but get an AbsentInformationException. What could be the reason for missing local variable information on some methods. The methods I'm seeing this on are neither native nor abstract.

Code is here:
most relevant file: method: printLocalVariables()

I'd really appreciate any advice, thx a lot!

Edited by: 938212 on Jun 1, 2012 5:12 PM


  • Correct Answers - 10 points
  • Helpful Answers - 5 points