MCPcopy Create free account
hub / github.com/covscript/covscript / breakpoint

Class breakpoint

sources/debugger.cpp:150–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149class breakpoint_recorder final {
150 struct breakpoint final {
151 std::size_t id = 0;
152 std::variant<std::size_t, std::string, cs::var> data;
153
154 template <typename T>
155 breakpoint(std::size_t _id, T &&_data) : id(_id), data(std::forward<T>(_data))
156 {
157 }
158 };
159
160 static std::size_t m_id;
161 std::forward_list<breakpoint> m_breakpoints;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected