[nbusers] Re: Hot Reload of JDPA debugger when external class files change

  • From: "emiddio-frontier" < >
  • To: < >
  • Subject: [nbusers] Re: Hot Reload of JDPA debugger when external class files change
  • Date: Fri, 1 Feb 2013 07:41:19 -0800

when i debug attached tomcat i can edit source java files, then click icon 
in tool bar thats for 'apply code changes' - which recompiles and marks the 
class for reloading and winds the stack back down to before the code that 
was changed - and i can then re-inovoke/step into a method.

-Gary

----- Original Message ----- 
From: "J-Rojas" 
< >
To: 
< >
Sent: Thursday, January 31, 2013 10:20 AM
Subject: [nbusers] Hot Reload of JDPA debugger when external class files 
change


Hello,

I'm using netbeans debugger to debug an external J2EE project.  I have an 
Ant build that compiles the project and Tomcat is reload the classes and 
redeploying.

I'm using Attach debugger to debug the project within Netbeans.  The problem 
is when I make changes in the IDE to the source files, the debugger doesn't 
update it's current session to the new code changes.  Things seem to work 
great for external Jar files that are potentially recompiled, but when it 
comes to class files, the changes don't seem to be picked up.

I've tried some project.properties hacks (build.classes.dir) and I've also 
include the classes folder as a library into the project.

How can I get netbeans to pick up class file changes and automatically 
update the debugger session?

Thanks!






[nbusers] Hot Reload of JDPA debugger when external class files change

J-Rojas 01/31/2013

[nbusers] Re: Hot Reload of JDPA debugger when external class files change

Edson Richter 02/01/2013

[nbusers] Re: Hot Reload of JDPA debugger when external class files change

emiddio-frontier 02/01/2013

[nbusers] Hot Reload of JDPA debugger when external class files change

J-Rojas 02/01/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 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