Debugging without symbols

I just read the blog post about debugging without symbols. If this really works, it probably is the coolest thing ever. I have been seriously annoyed about not having debug symbols in the JDK for a long time now.

Do I need to turn anything special on for this to work? I'm using IU-132.637 on OS X and it only shows "Local variables debug info not available" in the debugger. That's the same for my own classes if I turn off debugging symbols (like in the blog post) and for JDK classes.

4 comments

Is this working for anyone in 132.719?

0

Just wondering: Was this feature removed? I have seen this working for some builds but now it seems to have stopped working again (IU-133.609). I'll have to debug some really nasty Swing event firing bug next week, so this would come in really handy...

0

Hi Dirk,
The feature should turn automatically on, when debugger detects the absence of local variable debug information. Internally the "trigger" is the AbsentInformationException thrown by JDI on attempt to read local variables.If such exception is caught, debugger tries to guess local variables from the bytecode and attached sources.
If this does not work for you for some reason, could you please provide details on how to reproduce this?

0

Thanks for the details. Then, there must be going something wrong. Let's move the discussion to YouTrack: IDEA-119698

0

Please sign in to leave a comment.