You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "jose luis romero (JIRA)" <ji...@apache.org> on 2019/08/02 11:44:00 UTC

[jira] [Commented] (NETBEANS-2461) Debug mode doesn't apply any code changes

    [ https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16898821#comment-16898821 ] 

jose luis romero commented on NETBEANS-2461:
--------------------------------------------

I found the solution to make debug + dcevm works.
The problem lays on:

creating a new configuration "dcevm", which creates the file nbactions*-dcevm*.xml

this xml by default uses plugin 1.5.0  

 
{code:java}
   <goal>org.codehaus.mojo:exec-maven-plugin:1.5.0:exec</goal>{code}
 

changing to an older version, like 1.2.1 solves part of the problem (version used by IDE 8.2)

Another thing is when adding VM Options to this "new configuration dcevm" through the IDE: properties > run > selecting configuration > VM Options

 
{code:java}
-XXaltjvm=dcevm -javaagent:D:/libs/hotswap-agent.jar{code}
the IDE cut the *=dcevm*

leaving ** 

 
{code:java}
<exec.args>-XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath org.sindicato.Sindicato develop</exec.args>{code}
 

it doesn't matter how you write it down in the VM Options field, it always cut the =dcevm

 

 

> Debug mode doesn't apply any code changes
> -----------------------------------------
>
>                 Key: NETBEANS-2461
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2461
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.0
>         Environment: windows 10 64x
>            Reporter: jose luis romero
>            Priority: Major
>         Attachments: messages.log
>
>
> I have been trying the debug (with and without HotSwap agent, DCEVM) some projects in java Desktop and webApps, with and without Maven, it doesn't update any kind of changes in the code, the button "Apply code Changes" never becomes available/enabled



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists