Terminate previous Launch automatically

Hi team,
Great job on the MicroEJ SDK 5.x

I am launching (by error) several times the same Virtual Device with some new code I just wrote. Meanwhile I have forgotten to close the previous ones.

Is there a way to automatically close the previous Virtual Device, when I re-launch the same one with some new code ?

Looking forward to reading you
B.R.

John

Hi @JohnGardyne,

You can press the <shift> key while starting a new launch to terminate the previous one(s).

You can also set this behavior by default in your workspace settings:

  • Go to Window> Preferences > Run/Debug > Launching menu
  • Check Terminate and Relaunch while launching option
  • Click on Apply and Close button