This paper proposes a scheme to detect middleware errors in Smart DDS(Data Distribution Service) in a naval combat system. Naval combat system includes various devices such as monitoring tool, search radar based-on Smart DDS. Because of this construct, it is unable to handle rapidly problems communicating when they occurs in wartime situation. In order to handle quickly the problems, this study is able to detect the problems in real-time using interface of Smart DDS layers. Previous detection schemes are unsuitable on urgent wartime situation because they are the tools handling after problems occur. In this paper, proposed scheme detects rapidly problems using the Smart DDS layers interface. Simulation results show that proposed scheme reduces the latency for detecting problems compared with existing debugging tools, and it is expected to improve the recovery performance of naval combat system.