openMSX
DebugCondition.hh
Go to the documentation of this file.
1 #ifndef DEBUGCONDITION_HH
2 #define DEBUGCONDITION_HH
3 
4 #include "BreakPointBase.hh"
5 
6 namespace openmsx {
7 
8 /** General debugger condition
9  * Like breakpoints, but not tied to a specifc address.
10  */
11 class DebugCondition final : public BreakPointBase
12 {
13 public:
14  DebugCondition(TclObject command, TclObject condition, bool once);
15  unsigned getId() const { return id; }
16 
17 private:
18  unsigned id;
19 
20  static unsigned lastId;
21 };
22 
23 } // namespace openmsx
24 
25 #endif
bool getEnum() const noexcept
Definition: EnumSetting.hh:96
unsigned getId() const
DebugCondition(TclObject command, TclObject condition, bool once)
Base class for CPU break and watch points.