You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/03 04:15:51 UTC
[GitHub] [netbeans] steelswing opened a new issue #3688: Java Debugger: not working "apply code changes" if "compile on save" mode is enabled in the project
steelswing opened a new issue #3688:
URL: https://github.com/apache/netbeans/issues/3688
### Apache NetBeans version
Apache NetBeans 12.6
### What happened
I am developing large projects using Apache netbeans 12.6. When using debugger in netbeans 8.2, everything worked fine, but starting from version 8.2 above, the "Apply code changes" button stopped working if the "Compile on save" option is enabled in the project, and when saving the file (ctrl+s), code changes are not applied. I have been waiting since 2019 for a solution to this problem :)
in the IDE settings, the checkbox "Apply code changes after save (in "Compile on Save" mode only)" is enabled.
### How to reproduce
Create empty ANT project, turn off "compile on save" in project settings, run this project as Debug.
For example, try this code
```java
/**
* @param args the command line arguments
*/
public static void main(String[] args) throws InterruptedException {
// TODO code application logic here
while (true) {
Thread.sleep(1000);
System.out.println("Hello, Oracle ");
}
}
````
Try changing the string "Hello Oracle" to something else in debug mode and the string does not apply, but in Netbeans 8.2 it worked fine
### Did this work correctly in an earlier version?
No
### Operating System
Windows 10 x64
### JDK
JDK8
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
_No response_
### Are you willing to submit a pull request?
_No response_
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] steelswing commented on issue #3688: Java Debugger: not working "apply code changes" if "compile on save" mode is enabled in the project
Posted by GitBox <gi...@apache.org>.
steelswing commented on issue #3688:
URL: https://github.com/apache/netbeans/issues/3688#issuecomment-1061375889
> Does the "Apply code changes" button in the debugging toolbar work? 
This button is not active in the "compile on save" mode
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] dstutz commented on issue #3688: Java Debugger: not working "apply code changes" if "compile on save" mode is enabled in the project
Posted by GitBox <gi...@apache.org>.
dstutz commented on issue #3688:
URL: https://github.com/apache/netbeans/issues/3688#issuecomment-1060754876
Does the "Apply code changes" button in the debugging toolbar work?

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists