openMSX
DebugCondition.hh
Go to the documentation of this file.
1#ifndef DEBUGCONDITION_HH
2#define DEBUGCONDITION_HH
3
4#include "BreakPointBase.hh"
5
6namespace openmsx {
7
11class DebugCondition final : public BreakPointBase
12{
13public:
14 DebugCondition(TclObject command_, TclObject condition_, bool once_)
15 : BreakPointBase(std::move(command_), std::move(condition_), once_)
16 , id(++lastId) {}
17
18 [[nodiscard]] unsigned getId() const { return id; }
19
20private:
21 unsigned id;
22
23 static inline unsigned lastId = 0;
24};
25
26} // namespace openmsx
27
28#endif
Base class for CPU break and watch points.
General debugger condition Like breakpoints, but not tied to a specific address.
DebugCondition(TclObject command_, TclObject condition_, bool once_)
This file implemented 3 utility functions:
Definition Autofire.cc:11
STL namespace.