GUI: option for ignore inconsistent breakpoints
This commit is contained in:
parent
d4e25474d2
commit
f79b8d7db8
|
@ -58,6 +58,7 @@ void SettingsDialog::LoadSettings()
|
|||
settings.engineEnableSourceDebugging = true;
|
||||
settings.engineEnableTraceRecordDuringTrace = true;
|
||||
settings.engineNoScriptTimeout = false;
|
||||
settings.engineIgnoreInconsistentBreakpoints = false;
|
||||
settings.exceptionRanges = &realExceptionRanges;
|
||||
settings.disasmArgumentSpaces = false;
|
||||
settings.disasmMemorySpaces = false;
|
||||
|
@ -120,6 +121,7 @@ void SettingsDialog::LoadSettings()
|
|||
GetSettingBool("Engine", "TraceRecordEnabledDuringTrace", &settings.engineEnableTraceRecordDuringTrace);
|
||||
GetSettingBool("Engine", "SkipInt3Stepping", &settings.engineSkipInt3Stepping);
|
||||
GetSettingBool("Engine", "NoScriptTimeout", &settings.engineNoScriptTimeout);
|
||||
GetSettingBool("Engine", "IgnoreInconsistentBreakpoints", &settings.engineIgnoreInconsistentBreakpoints);
|
||||
switch(settings.engineCalcType)
|
||||
{
|
||||
case calc_signed:
|
||||
|
@ -149,6 +151,7 @@ void SettingsDialog::LoadSettings()
|
|||
ui->chkTraceRecordEnabledDuringTrace->setChecked(settings.engineEnableTraceRecordDuringTrace);
|
||||
ui->chkSkipInt3Stepping->setChecked(settings.engineSkipInt3Stepping);
|
||||
ui->chkNoScriptTimeout->setChecked(settings.engineNoScriptTimeout);
|
||||
ui->chkIgnoreInconsistentBreakpoints->setChecked(settings.engineIgnoreInconsistentBreakpoints);
|
||||
|
||||
//Exceptions tab
|
||||
char exceptionRange[MAX_SETTING_SIZE] = "";
|
||||
|
@ -283,6 +286,7 @@ void SettingsDialog::SaveSettings()
|
|||
BridgeSettingSetUint("Engine", "TraceRecordEnabledDuringTrace", settings.engineEnableTraceRecordDuringTrace);
|
||||
BridgeSettingSetUint("Engine", "SkipInt3Stepping", settings.engineSkipInt3Stepping);
|
||||
BridgeSettingSetUint("Engine", "NoScriptTimeout", settings.engineNoScriptTimeout);
|
||||
BridgeSettingSetUint("Engine", "IgnoreInconsistentBreakpoints", settings.engineIgnoreInconsistentBreakpoints);
|
||||
|
||||
//Exceptions tab
|
||||
QString exceptionRange = "";
|
||||
|
@ -690,3 +694,8 @@ void SettingsDialog::on_chkSidebarWatchLabels_stateChanged(int arg1)
|
|||
{
|
||||
settings.guiSidebarWatchLabels = arg1 != Qt::Unchecked;
|
||||
}
|
||||
|
||||
void SettingsDialog::on_chkIgnoreInconsistentBreakpoints_toggled(bool checked)
|
||||
{
|
||||
settings.engineIgnoreInconsistentBreakpoints = checked;
|
||||
}
|
||||
|
|
|
@ -75,6 +75,8 @@ private slots:
|
|||
void on_editSymbolStore_textEdited(const QString & arg1);
|
||||
void on_editSymbolCache_textEdited(const QString & arg1);
|
||||
|
||||
void on_chkIgnoreInconsistentBreakpoints_toggled(bool checked);
|
||||
|
||||
private:
|
||||
//enums
|
||||
enum CalcType
|
||||
|
@ -130,6 +132,7 @@ private:
|
|||
bool engineEnableTraceRecordDuringTrace;
|
||||
bool engineSkipInt3Stepping;
|
||||
bool engineNoScriptTimeout;
|
||||
bool engineIgnoreInconsistentBreakpoints;
|
||||
//Exception Tab
|
||||
QList<RangeStruct>* exceptionRanges;
|
||||
//Disasm Tab
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tabEvents">
|
||||
<attribute name="title">
|
||||
|
@ -303,6 +303,13 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="chkIgnoreInconsistentBreakpoints">
|
||||
<property name="text">
|
||||
<string>&Ignore inconsistent breakpoints</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
|
|
Loading…
Reference in New Issue