Open a Studio 5000 .L5X export and pick any output or sequence step. NEMO traces every condition that has to be true for it, across routines. Add a CSV of live tag values and it points at the one that isn't.
No export handy? Try a sample project:
Files are read by this page in your browser. Nothing is uploaded, so your PLC code stays on your computer.