DBG+GUI: small improvements to breakpoint log defaults
This commit is contained in:
parent
a835571cc4
commit
e5a614432f
|
@ -362,6 +362,9 @@ bool BpSetLogText(duint Address, BP_TYPE Type, const char* Log)
|
|||
return false;
|
||||
|
||||
strncpy_s(bpInfo->logText, Log, _TRUNCATE);
|
||||
|
||||
// Make log breakpoints silent (meaning they don't output the default log).
|
||||
bpInfo->silent = *Log != '\0';
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ void EditBreakpointDialog::on_editBreakCondition_textEdited(const QString & arg1
|
|||
|
||||
void EditBreakpointDialog::on_editLogText_textEdited(const QString & arg1)
|
||||
{
|
||||
ui->checkBoxSilent->setChecked(true);
|
||||
copyTruncate(mBp.logText, arg1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue