Rhubarb
Rhubarb

Reputation: 4003

Eclipse PyDev doesn't shut down interpreter when you click the little red button

Seems that even after unchecking the option in the PyDev/Debug preferenecs pane to launch in the background, once it's launched I have to go to task manager to kill the python process.

Upvotes: 1

Views: 452

Answers (2)

Med Berdai
Med Berdai

Reputation: 46

As far as I can tell when working with Django you need to add runserver --noreload to your program argument in Run > Run... menu

Upvotes: 1

cryo
cryo

Reputation: 14515

This often happens when you're using something like cherrypy/django and the process restarts after you've changed a python file while it's running. When this happens, I think the process is different but still using the same output console and thus won't be killed when you press the red button.

I'm not sure there's a way of fixing it, except for disabling auto-restarting in the web framework etc.

Upvotes: 1

Related Questions