Netbeans debugs two projects at the same time
I am trying to debug two projects at the same time in Netbeans and I am having some problems. One project calls another. I first run this using debug mode. In the second one, I put some breakpoints. The process stops at a breakpoint, but when you press the button to go to the next step, go to the next breakpoint (if any) or execute the code at the end.
This begs the question: what if netbeans goes to the next step in this case?
I am using netbeans 7.2 on Windows 7 and am debugging Java code using jdk1.6.0_24.
source to share
Netbeans 8 should support this off-the-shelf product and generate a new jpda.address port for each application.
If not, you have several options for this:
1. Start multiple instances of NetBeans (makes sure the "userdir" is different for both).
2. Specify another jpda.address=<port>
for one of the applications. You can add it to the Project Properties
> Actions
> Debug
> Set Properties
.
source to share