mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
26 lines
447 B
C++
26 lines
447 B
C++
// See the file "COPYING" in the main distribution directory for copyright.
|
|
|
|
// Structures and methods for implementing watches in the Zeek debugger.
|
|
|
|
#pragma once
|
|
|
|
namespace zeek {
|
|
class Obj;
|
|
}
|
|
|
|
namespace zeek::detail {
|
|
|
|
class Expr;
|
|
|
|
class DbgWatch {
|
|
public:
|
|
explicit DbgWatch(Obj* var_to_watch);
|
|
explicit DbgWatch(Expr* expr_to_watch);
|
|
~DbgWatch() = default;
|
|
|
|
protected:
|
|
Obj* var;
|
|
Expr* expr;
|
|
};
|
|
|
|
} // namespace zeek::detail
|