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/07/24 12:18:00 UTC

[jira] [Comment Edited] (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=16891800#comment-16891800 ] 

jose luis romero edited comment on NETBEANS-2461 at 7/24/19 12:17 PM:
----------------------------------------------------------------------

{{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.}}

I am using jdk 1.8.0_181-b13

{{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 <clinit>}}
 {{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}}


was (Author: firuzzz):
{{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 <clinit>}}
{{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 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