deshaw / pyflyby

A set of productivity tools for Python
https://deshaw.github.io/pyflyby/
Other
353 stars 52 forks source link

Exit with user message upon max invalid responses #212

Closed dshivashankar1994 closed 2 years ago

dshivashankar1994 commented 2 years ago

While exiting a debugger, there is a prompt which asks user whether to keep the debugging process running or not. The prompt is for a max of 3 (as of now) invalid responses.

Added a print statement when maximum invalid responses are received indicating the exiting of debugger.

dshivashankar1994 commented 2 years ago

@quarl Could you review the PR ?

quarl commented 2 years ago

why is the message needed?

dshivashankar1994 commented 2 years ago

why is the message needed?

This is just an informative message for indicating the users that there will be no more prompts coming it