This document explains how to debug a distributed DDS system when there is no communication, or sub-optimal communication, seen between publishers and subscribers.
You can use Eclipse to debug a live Routing Service instance that is running a Java Adapter. This HOWTO describes what settings to use to allow the java debugger to attach to the RS runtime.