diff --git a/src/frame/frame_base.cpp b/src/frame/frame_base.cpp
index aac84686825ac6eb9e57c0bda3a1de62c2f8c622..95233cf96e55c29910aa8ac13168e220b3cde136 100644
--- a/src/frame/frame_base.cpp
+++ b/src/frame/frame_base.cpp
@@ -165,6 +165,7 @@ FrameBasePtr FrameBase::getNextFrame() const
 
 CaptureBasePtr FrameBase::addCapture(CaptureBasePtr _capt_ptr)
 {
+    WOLF_WARN_COND(getCaptureOf(_capt_ptr->getSensor()) != nullptr, "FrameBase::addCapture adding new capture ", _capt_ptr->id(), " in a frame with another capture of the same sensor: ", getCaptureOf(_capt_ptr->getSensor())->id());
     capture_list_.push_back(_capt_ptr);
     return _capt_ptr;
 }