summaryrefslogtreecommitdiff
path: root/sim/sim_object.hh
diff options
context:
space:
mode:
Diffstat (limited to 'sim/sim_object.hh')
-rw-r--r--sim/sim_object.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/sim_object.hh b/sim/sim_object.hh
index 770cd558e..dfd70f8ec 100644
--- a/sim/sim_object.hh
+++ b/sim/sim_object.hh
@@ -83,6 +83,12 @@ class SimObject : public Serializable
// static: call nameOut() & serialize() on all SimObjects
static void serializeAll(std::ostream &);
+#ifdef DEBUG
+ public:
+ bool doDebugBreak;
+ static void debugObjectBreak(const std::string &objs);
+#endif
+
public:
bool doRecordEvent;
void recordEvent(const std::string &stat);