Need some tips on debugging deepstream-app-based C++ application

You can dump the graph to check the format if you don’t want to the source code line by line. DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

Yes.