Debugging for javac - plugin detail

Adds a new tab "Decompile" to each Java source file. This tab shows either the output of javap on classfile compiled from the code in the editor, or Java-like code representing "desugared" source code.

n/a
Plugin owner: jlahoda
Website: http://www.netbeans.org/
Added: 2013-08-14
License: CDDL-GPL-2-CP
Category: Editing
Downloaded: 1,739 times
Rating:
 4.41, by 1 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.03 MB   Last Update: 2014-07-05

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Fixing desugaring against recent builds on JDK9.

Verifications for NetBeans versions

8.0 verification PASSED See verification details
Download plugin   Download size: 0.03 MB   Last Update: 2013-12-07

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Various bugfixes.

Verifications for NetBeans versions

7.4 verification PASSED See verification details
Download plugin   Download size: 0.03 MB   Last Update: 2013-08-15

What's new in this version

Note: this plugin requires JDK7.

Verifications for NetBeans versions

7.3 verification FAILED See verification details


Introduction

Find out how javac desugars and compiles Java source code

[ You have to be logged in to be able to comment. ]

User Comments

  

Source code for this plugin

The source code for this plugin is available in directory java.debugjavac of the contrib repository:
http://hg.netbeans.org/main/contrib
Posted by jlahoda on Apr 28, 2014
  

Does exactly what's needed, very easily. Excellent!

I was looking for a way to simplify using javap with NB. It was surprisingly hard to find, but well worth the effort. Does exactly what I needed.
Thank you
Posted by jamescherrill on Apr 28, 2014
  

Very nice!

Awesome, exactly what I was looking for. Is this plugin open source?
Posted by sese1967 on Mar 28, 2014
  

JDK6 support

Sorry, but I don't plan to backport to JDK6. The plugin was originally written for 7.4, and I backported the dependencies to match 7.3, but going back to JDK6 prove to be too difficult to be effective (the code not only uses diamond operator, which can be alleviated relatively easily, but also switch over Strings, etc.). I made sure the plugin itself requires JDK7, so the error message should be understandable, but I don't have plans to do more to support JDK6.
Posted by jlahoda on Aug 15, 2013
  

can't install on JDK6

Hi,
I can't install this plugin on NetBeans running on JDK6.
NetBeans 7.3 is designed to run on JDK6 and 7 (NetBeans Dailybuilds and 7.4 will run on JDK7 only, but we're still on Netbeans 7.3).
Could you recompile your plugin for JDK6? Thx!


The error message on plugin install:
Some plugins require the Java platform in version Java > 1.7
The Java platform version Java > 1.7 was requested but only 1.6 is running. The following plugin is affected:       Debugging for javac
Posted by ent38 on Aug 15, 2013
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo