0 Replies Latest reply: Jun 1, 2012 7:12 PM by 941215 RSS

    JDI: AbsentInformationException when getting local variables

    941215
      I am writing a Debugger prototype for processing.org 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: https://github.com/martinleopold/DebugMode
      most relevant file: https://github.com/martinleopold/DebugMode/blob/master/src/com/martinleopold/mode/debug/Debugger.java method: printLocalVariables()

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

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