2017-08-18 05:08:22 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CAddBreakpointDlg : public CDialogImpl<CAddBreakpointDlg>
|
|
|
|
{
|
|
|
|
public:
|
2017-09-13 10:36:03 +00:00
|
|
|
enum { IDD = IDD_Debugger_AddBreakpoint };
|
2017-08-18 05:08:22 +00:00
|
|
|
|
2017-09-13 10:36:03 +00:00
|
|
|
INT_PTR CAddBreakpointDlg::DoModal(CDebuggerUI* debugger)
|
|
|
|
{
|
|
|
|
m_Debugger = debugger;
|
|
|
|
return CDialogImpl<CAddBreakpointDlg>::DoModal();
|
|
|
|
}
|
2017-08-18 05:08:22 +00:00
|
|
|
|
|
|
|
private:
|
2017-09-13 10:36:03 +00:00
|
|
|
CDebuggerUI* m_Debugger;
|
|
|
|
|
|
|
|
CButton m_ReadCheck;
|
|
|
|
CButton m_WriteCheck;
|
|
|
|
CButton m_ExecuteCheck;
|
|
|
|
CEdit m_AddressEdit;
|
|
|
|
|
2019-12-25 00:41:20 +00:00
|
|
|
LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
|
|
|
|
LRESULT OnClicked(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL& bHandled);
|
2017-09-13 10:36:03 +00:00
|
|
|
LRESULT OnDestroy(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
BEGIN_MSG_MAP_EX(CAddBreakpointDlg)
|
|
|
|
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
|
|
|
|
COMMAND_CODE_HANDLER(BN_CLICKED, OnClicked)
|
|
|
|
MSG_WM_DESTROY(OnDestroy)
|
2017-09-13 10:52:18 +00:00
|
|
|
END_MSG_MAP()
|
2021-03-18 03:29:38 +00:00
|
|
|
};
|