30 : m_breakpoint(breakpoint)
35 XRCCTRL(*
this,
"chkEnabled",
wxCheckBox)->SetValue(m_breakpoint.enabled);
36 XRCCTRL(*
this,
"chkIgnore",
wxCheckBox)->SetValue(m_breakpoint.useIgnoreCount);
37 XRCCTRL(*
this,
"spnIgnoreCount",
wxSpinCtrl)->SetValue(m_breakpoint.ignoreCount);
38 XRCCTRL(*
this,
"chkExpr",
wxCheckBox)->SetValue(m_breakpoint.useCondition);
39 XRCCTRL(*
this,
"txtExpr",
wxTextCtrl)->SetValue(m_breakpoint.condition);
40 XRCCTRL(*
this,
"wxID_OK",
wxButton)->SetDefault();
43 SetMaxSize(
wxSize(-1, GetMinHeight()));
66 bool en = XRCCTRL(*
this,
"chkEnabled",
wxCheckBox)->IsChecked();
67 XRCCTRL(*
this,
"chkIgnore",
wxCheckBox)->Enable(en && !XRCCTRL(*
this,
"chkExpr",
wxCheckBox)->IsChecked());
68 XRCCTRL(*
this,
"spnIgnoreCount",
wxSpinCtrl)->Enable(en && XRCCTRL(*
this,
"chkIgnore",
wxCheckBox)->IsChecked());
69 XRCCTRL(*
this,
"chkExpr",
wxCheckBox)->Enable(en && !XRCCTRL(*
this,
"chkIgnore",
wxCheckBox)->IsChecked());
70 XRCCTRL(*
this,
"txtExpr",
wxTextCtrl)->Enable(en && XRCCTRL(*
this,
"chkExpr",
wxCheckBox)->IsChecked());
void EndModal(int retCode)
int ignoreCount
The number of passes before this breakpoint should hit. useIgnoreCount must be true.
wxString condition
The condition that must be met for the breakpoint to hit. useCondition must be true.
Debugger breakpoint interface.
DebuggerBreakpoint m_breakpoint
bool useIgnoreCount
Should this breakpoint be ignored for the first X passes? (x == ignoreCount)
bool useCondition
Should this breakpoint hit only if a specific condition is met?
virtual ~EditBreakpointDlg()
void OnUpdateUI(wxUpdateUIEvent &event)
wxString CleanStringValue(wxString value)
bool enabled
Is the breakpoint enabled?
static wxXmlResource * Get()
void EndModal(int retCode)
wxObject * LoadObject(wxWindow *parent, const wxString &name, const wxString &classname)