Close what is already already running when running in eclipse
Asked Answered
I

2

7

i was wondering if in eclipse there is a way for eclipse, when you press the play button(run), it closes the already running program. For example, if anyone has every used Dr. Java, when you click run it basically closes all the running, compiled, programs and opens what ever you want to run. I was hopinmg there is a way to do this in eclipse because i often forget to close the program before running a modified version.

Also in Dr. Java it says something around the lines of "resetting interactions pane" so if that helps?

Indignity answered 19/12, 2012 at 1:46 Comment(2)
Do you mean other programs/project that are run through Eclipse? Is the Progress View what you are looking for?Bearden
@lindonfox no what i mean is that when i click run and i run my program, i dont usually remember to close that instance of the program before running it again. Dr. Java took care of that by closing all running instances when running a new instanceIndignity
A
0

Open the Debug View and you can kill all of the running processes launched from Eclipse. Picture of the Debug **Perspective**, but you can open the View from anywhere

Angie answered 19/12, 2012 at 3:12 Comment(1)
i dont mean like i have to go out of my way to do it, i mean like it automatically does it when i press run.Indignity
P
0

Go to Window->Preferences->Run/Debug->Launching, and check Terminate and Relaunch while launching.

Terminate and relaunch eclipse visualization

Prevail answered 18/2, 2022 at 18:51 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.