[Bug 225852] New: Apply code changes" does not have effect for Maven project

  • From:
  • To:
  • Subject: [Bug 225852] New: Apply code changes" does not have effect for Maven project
  • Date: Thu, 07 Feb 2013 15:50:29 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=225852

             Bug #: 225852
        Issue Type: DEFECT
           Summary: Apply code changes" does not have effect for Maven
                    project
    Classification: Unclassified
           Product: debugger
           Version: 7.3
          Platform: PC
        OS/Version: Mac OS X
            Status: NEW
          Priority: P3
         Component: Java
        AssignedTo: 

        ReportedBy: 

         QAContact: 



For a maven project, in case of "Compile on save" is enabled, and "Apply code
changes after save" (Settings->Java->Java Debugger) doesn't have effect after
the code is recompiled. As a result, hotswap is not being triggered. 

This is crucial for JRebel to work in debug mode so that the breakpoints could
be re-initialized for the new lines of code (new methods added at runtime).

For this to work, the user can push Debug->Apply Code Changes and then it
triggers the compilation and update of the changed classes, however it is not
very practical: users almost don't know about this feature & this is an extra
step that ruins UX.

In addition, for maven projects it is not possible to run compilation for the
single class via F9.

Not that this problems are not present for the non-maven projects.

The ideal workflow could be: start the app in debugger mode, make a change 
(add
a statement in a method body), press Ctrl+S to save (which triggers 
compilation
of "Compile on Save" is enabled. Once the compilation is complete - Hotswap
should be triggered in order to update the code.

If "Apply code changes" would be supported for maven projects, the users will
have much smoother debugging experience, and JRebel can leverage that as well.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 225852] New: Apply code changes" does not have effect for Maven project

arhan 02/07/2013

[Bug 225852] Apply code changes" does not have effect for Maven project

markiewb 02/07/2013

[Bug 225852] Apply code changes" does not have effect for Maven project

mentlicher 02/12/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

mentlicher 02/12/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

pjiricka 02/12/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

mentlicher 02/13/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

anebuzelsky 02/13/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

mentlicher 02/15/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

quality 02/17/2013

[Bug 225852] "Apply code changes" does not have effect for Maven project

mmirilovic 02/26/2013

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close