6 #ifndef _CB_DEBUGGER_INTERFACES_H_ 7 #define _CB_DEBUGGER_INTERFACES_H_ 25 virtual void Reload() = 0;
26 virtual void EnableWindow(
bool enable) = 0;
38 virtual void RemoveAllBreakpoints() = 0;
39 virtual void EditBreakpoint(
const wxString& filename,
int line) = 0;
40 virtual void EnableBreakpoint(
const wxString& filename,
int line,
bool enable) = 0;
42 virtual void Reload() = 0;
52 virtual void Clear() = 0;
54 virtual void EnableWindow(
bool enable) = 0;
65 virtual void AddAssemblerLine(uint64_t addr,
const wxString& line) = 0;
66 virtual void AddSourceLine(
int lineno,
const wxString& line) = 0;
67 virtual bool SetActiveAddress(uint64_t addr) = 0;
68 virtual void CenterLine(
int lineno) = 0;
69 virtual void CenterCurrentLine() = 0;
70 virtual bool HasActiveAddr() = 0;
71 virtual void EnableWindow(
bool enable) = 0;
82 virtual void Begin() = 0;
83 virtual void End() = 0;
85 virtual void Clear() = 0;
86 virtual wxString GetBaseAddress() = 0;
87 virtual int GetBytes() = 0;
88 virtual void AddError(
const wxString& err) = 0;
90 virtual void EnableWindow(
bool enable) = 0;
91 virtual void SetBaseAddress(
const wxString &addr) = 0;
101 virtual void Reload() = 0;
102 virtual void EnableWindow(
bool enable) = 0;
112 virtual void UpdateWatches() = 0;
113 virtual void AddWatch(cb::shared_ptr<cbWatch> watch) = 0;
114 virtual void AddSpecialWatch(cb::shared_ptr<cbWatch> watch,
bool readonly) = 0;
115 virtual void RemoveWatch(cb::shared_ptr<cbWatch> watch) = 0;
117 virtual void RefreshUI() = 0;
125 virtual void OnClick(
bool enable) = 0;
126 virtual bool IsEnabled() = 0;
127 virtual bool IsChecked() = 0;
136 virtual void MarkActiveTargetAsValid(
bool valid) = 0;
137 virtual void RebuildMenus() = 0;
138 virtual void BuildContextMenu(
wxMenu &menu,
const wxString& word_at_caret,
bool is_running) = 0;
141 virtual void UnregisterWindowMenu(
const wxString &name) = 0;
148 cbDebugInterfaceFactory& operator=(cbDebugInterfaceFactory &);
150 cbDebugInterfaceFactory();
151 virtual ~cbDebugInterfaceFactory();
177 virtual bool ShowValueTooltip(
const cb::shared_ptr<cbWatch> &watch,
const wxRect &rect) = 0;
178 virtual void HideValueTooltip() = 0;
179 virtual bool IsValueTooltipShown() = 0;
180 virtual void UpdateValueTooltip() = 0;
183 #endif // _CB_DEBUGGER_INTERFACES_H_
Base class for debugger plugins.