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

2019-08-02 Thread jose luis romero (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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}
   org.codehaus.mojo:exec-maven-plugin:1.5.0:exec{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}
-XXaltjvm -javaagent:D:/libs/hotswap-agent.jar -classpath %classpath 
org.sindicato.Sindicato develop{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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



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

2019-07-24 Thread jose luis romero (JIRA)


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

jose luis romero commented on NETBEANS-2461:


{{The bug still persists partially in 11.1, Hotswap works on webapp projects 
but not on desktops, the button "Apply Code changes" never becomes enabled.}}

{{Disabling DCEVM (HotSwapAgent) and trying to use the native debug doesn't 
work neither.}}


{{The agent is loaded normally as indicate the log}}

{{debug:}}
{{HOTSWAP AGENT: 09:05:01.135 INFO (org.hotswap.agent.HotswapAgent) - Loading 
Hotswap agent \{1.3.1-SNAPSHOT} - unlimited runtime class redefinition.}}
{{HOTSWAP AGENT: 09:05:02.035 INFO (org.hotswap.agent.config.PluginRegistry) - 
Discovered plugins: [Hotswapper, JdkPlugin, WatchResources, ClassInitPlugin, 
AnonymousClassPatch, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, 
Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Omnifaces, Seam, 
ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, 
JBossModules, ResteasyRegistry, Deltaspike, GlassFish, Vaadin, Wicket]}}
{{HOTSWAP AGENT: 09:05:03.418 INFO (org.hotswap.agent.config.PluginRegistry) - 
Plugin 'org.hotswap.agent.plugin.log4j2.Log4j2Plugin' initialized in 
ClassLoader 'sun.misc.Launcher$AppClassLoader@18b4aac2'.}}
{{HOTSWAP AGENT: 09:05:03.424 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\Sindicato\build\classes via 
watched: D:\NetBeansProjects\Sindicato\build\classes}}
{{HOTSWAP AGENT: 09:05:03.427 INFO 
(org.hotswap.agent.plugin.log4j2.Log4j2Plugin) - Log4j2 plugin initialized.}}
{{HOTSWAP AGENT: 09:05:03.964 INFO 
(org.hotswap.agent.plugin.hibernate3.session.Hibernate3Transformers) - 
Hibernate3Plugin, patched org.hibernate.cfg.Configuration}}
{{HOTSWAP AGENT: 09:05:04.221 INFO 
(org.hotswap.agent.plugin.hibernate3.session.Hibernate3Plugin) - Hibernate3 
Session plugin initialized}}
{{HOTSWAP AGENT: 09:05:04.225 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\utilitiez\build\classes via 
watched: D:\NetBeansProjects\utilitiez\build\classes}}
{{HOTSWAP AGENT: 09:05:04.225 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\Sindicato\build\classes via 
watched: D:\NetBeansProjects\Sindicato\build\classes}}
{{HOTSWAP AGENT: 09:05:04.225 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\utilitiez\build\classes via 
watched: D:\NetBeansProjects\utilitiez\build\classes}}
{{HOTSWAP AGENT: 09:05:04.226 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\Sindicato\build\classes via 
watched: D:\NetBeansProjects\Sindicato\build\classes}}
{{HOTSWAP AGENT: 09:05:04.227 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\utilitiez\build\classes via 
watched: D:\NetBeansProjects\utilitiez\build\classes}}
{{HOTSWAP AGENT: 09:05:04.227 INFO (org.hotswap.agent.watch.nio.TreeWatcherNIO) 
- Registering directory target D:\NetBeansProjects\Sindicato\build\classes via 
watched: D:\NetBeansProjects\Sindicato\build\classes}}
{{HOTSWAP AGENT: 09:05:04.227 INFO (org.hotswap.agent.config.PluginRegistry) - 
Plugin 'org.hotswap.agent.plugin.hibernate3.session.Hibernate3Plugin' 
initialized in ClassLoader 'sun.misc.Launcher$AppClassLoader@18b4aac2'.}}
{{HOTSWAP AGENT: 09:05:04.228 INFO 
(org.hotswap.agent.plugin.hibernate3.session.Hibernate3Plugin) - Hibernate Core 
version '3.6.10.Final'}}
{{jul 24, 2019 9:05:06 AM com.mchange.v2.log.MLog }}
{{INFORMACIÓN: MLog clients using java 1.4+ standard logging.}}
{{jul 24, 2019 9:05:06 AM com.mchange.v2.c3p0.C3P0Registry banner}}
{{INFORMACIÓN: Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? 
true; trace: 10]}}
{{jul 24, 2019 9:05:06 AM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource 
getPoolManager}}
{{HOTSWAP AGENT: 09:05:06.627 INFO 
(org.hotswap.agent.plugin.hibernate3.session.Hibernate3Transformers) - Override 
org.hibernate.impl.SessionFactoryImpl 
sun.misc.Launcher$AppClassLoader@18b4aac2}}

> 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 

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

2019-04-24 Thread jose luis romero (JIRA)


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

jose luis romero commented on NETBEANS-2461:


I will setup up a Mint 19 and try it

> 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.3#76005)

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

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



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

2019-04-24 Thread Geertjan Wielenga (JIRA)


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

Geertjan Wielenga commented on NETBEANS-2461:
-

Specifically on Windows? Can you see if you can reproduce on Mac or Linux 
(because, I tried but failed to reproduce there).

> 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.3#76005)

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

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