--- a/eric7/Preferences/__init__.py Tue Aug 24 17:20:58 2021 +0200 +++ b/eric7/Preferences/__init__.py Tue Aug 24 18:04:32 2021 +0200 @@ -76,6 +76,7 @@ # max. number of file names to be remembered for the add breakpoint # dialog "BreakAlways": False, + "IntelligentBreakpoints": True, "ShowExceptionInShell": True, "Python3VirtualEnv": "", "RubyInterpreter": "", @@ -1722,19 +1723,23 @@ Module function to retrieve the debugger settings. @param key the key of the value to get + @type str @param prefClass preferences class used as the storage area + @type Prefs @return the requested debugger setting + @rtype Any """ - if key in ["RemoteDbgEnabled", "PassiveDbgEnabled", + if key in ("RemoteDbgEnabled", "PassiveDbgEnabled", "AutomaticReset", "DebugEnvironmentReplace", "PythonRedirect", "PythonNoEncoding", "Python3Redirect", "Python3NoEncoding", "RubyRedirect", "ConsoleDbgEnabled", "PathTranslation", "Autosave", "ThreeStateBreakPoints", - "BreakAlways", "AutoViewSourceCode", - "ShowExceptionInShell", "MultiProcessEnabled", - ]: + "BreakAlways", "IntelligentBreakpoints", + "AutoViewSourceCode", "ShowExceptionInShell", + "MultiProcessEnabled", + ): return toBool(prefClass.settings.value( "Debugger/" + key, prefClass.debuggerDefaults[key])) elif key in ["PassiveDbgPort", "MaxVariableSize", "RecentNumber"]: @@ -1782,8 +1787,11 @@ Module function to store the debugger settings. @param key the key of the setting to be set + @type str @param value the value to be set + @type Any @param prefClass preferences class used as the storage area + @type Prefs """ prefClass.settings.setValue("Debugger/" + key, value)