Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-158

Eclipse debugger fails on BCEL-instrumented methods having generic local variables.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • None
    • None
    • Main
    • None
    • Operating System: All
      Platform: PC

    Description

      When any method is instrumented with BCEL to include additional constants, and the method was originally compiled with local variables that have generic arguments, the method is no longer viewable in the Eclipse debugger. For these methods, it complains "com.sun.jdi.InternalException: Got error code in reply:35 occurred retrieving 'this' from stack frame." It sounds like the local variable table is somehow not compatible with the debugger, even if the instrumentation activity did not touch the generic local variables.

      I'm currently using the 6.0-20110805.040858-2 snapshot. Please let me know if there is any workaround. Thanks!

      Attachments

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            byron@hawkinssoftware.net Byron Hawkins
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: