Hi Chris,
I had a look at this issue. I could reproduce the issue with NetBeans IDE 8.1 and openjdk version 1.8.0_91 on Ubuntu 16.04 also. But system class variables can successfully debugged using "jdb" (Debugger shipped withJDK). ( I tried with Debian builds on arm machine). So at first look it doesn't seem JDK issue. I further tried to debug with Netbeans IDE 8.1 and could find a workaround to debug system class variables Please use "Debug -> Evaluate Expression (Ctrl + F9)" That suggests that it can be issue with NetBeans itself. I am looking into it deeper and will keep you posted. Regards, Alok On Sat, 02 Apr 2016 11:08:33 +0200 Christian Haul <c.h...@web.de> wrote: > Package: openjdk-8-jre-headless > Version: 8u77-b03-3 > Severity: important > > Dear Maintainer, > > I have just discovered that stepping into JRE classes with a debugger does not > allow inspecting variable states, the debugger complains that classes are > built > without "-g" option. > > I cannot confirm when this started - I only debug into system classes > occasionally. However, for me, absense of this information strongly limits the > ability to seriously develop java code with this package. > > javap -l shows some information but it does not show the variable tables. > > My best guess is, that classes were compiled with "-g:lines" instead of "-g" > or > -g:lines,vars" > > I'm using Netbeans 8.1 debugger. > > TIA. > > Chris. > > > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > Foreign Architectures: i386 > > Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: systemd (via /run/systemd/system) > > Versions of packages openjdk-8-jr