src/eric7/Preferences/ConfigurationPages/DebuggerPython3Page.py

branch
eric7
changeset 10289
490388ca210c
parent 10069
435cc5875135
child 10428
a071d4065202
equal deleted inserted replaced
10288:1f5c7f54c3cc 10289:490388ca210c
68 self.pyRedirectCheckBox.setChecked(Preferences.getDebugger("Python3Redirect")) 68 self.pyRedirectCheckBox.setChecked(Preferences.getDebugger("Python3Redirect"))
69 self.pyNoEncodingCheckBox.setChecked( 69 self.pyNoEncodingCheckBox.setChecked(
70 Preferences.getDebugger("Python3NoEncoding") 70 Preferences.getDebugger("Python3NoEncoding")
71 ) 71 )
72 self.sourceExtensionsEdit.setText(Preferences.getDebugger("Python3Extensions")) 72 self.sourceExtensionsEdit.setText(Preferences.getDebugger("Python3Extensions"))
73 self.callTraceCheckBox.setChecked(
74 Preferences.getDebugger("PythonCallTraceOptimization")
75 )
73 76
74 def save(self): 77 def save(self):
75 """ 78 """
76 Public slot to save the Debugger Python configuration. 79 Public slot to save the Debugger Python configuration.
77 """ 80 """
82 "DebugClient3", self.debugClientPicker.text(toNative=False) 85 "DebugClient3", self.debugClientPicker.text(toNative=False)
83 ) 86 )
84 Preferences.setDebugger("Python3Redirect", self.pyRedirectCheckBox.isChecked()) 87 Preferences.setDebugger("Python3Redirect", self.pyRedirectCheckBox.isChecked())
85 Preferences.setDebugger( 88 Preferences.setDebugger(
86 "Python3NoEncoding", self.pyNoEncodingCheckBox.isChecked() 89 "Python3NoEncoding", self.pyNoEncodingCheckBox.isChecked()
90 )
91 Preferences.setDebugger(
92 "PythonCallTraceOptimization", self.callTraceCheckBox.isChecked()
87 ) 93 )
88 94
89 def __populateAndSetVenvComboBox(self): 95 def __populateAndSetVenvComboBox(self):
90 """ 96 """
91 Private method to populate and set the virtual environment combo box. 97 Private method to populate and set the virtual environment combo box.

eric ide

mercurial