File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 8080Save sessions ({config.save_key}) or post them to pastebins ({config.pastebin_key})! Current pastebin helper: {config.pastebin_helper}
8181Reload all modules and rerun session ({config.reimport_key}) to test out changes to a module.
8282Toggle auto-reload mode ({config.toggle_file_watch_key}) to re-execute the current session when a module you've imported is modified.
83+ Toggle auto-debug mode ({config.debug_key}) to trigger a debugger whenever an exception is raised.
8384
8485bpython -i your_script.py runs a file in interactive mode
8586bpython -t your_script.py pastes the contents of a file into the session
@@ -881,12 +882,16 @@ def toggle_file_watch(self):
881882 def toggle_auto_debug (self ):
882883 if debugger is None :
883884 self .status_bar .message (
884- _ ('No debugger, check your PYTHON_DEBUGGER value.\n ' ))
885+ _ ('No debugger, check your PYTHON_DEBUGGER value.' ))
885886 return
886887 if sys .excepthook is not debugger_hook :
888+ self .status_bar .message (
889+ _ ('Auto-debug activated' ))
887890 sys .excepthook = debugger_hook
888891 else :
889892 sys .excepthook = sys .__excepthook__
893+ self .status_bar .message (
894+ _ ('Auto-debug deactivated' ))
890895
891896 # Handler Helpers
892897 def add_normal_character (self , char ):
You can’t perform that action at this time.
0 commit comments