I follow this tutorial of NVIDIA yolo_deepstream/deepstream_yolo at main · NVIDIA-AI-IOT/yolo_deepstream · GitHub and this is parser for bounding boxes yolo_deepstream/deepstream_yolo/nvdsinfer_custom_impl_Yolo/nvdsparsebbox_Yolo.cpp at main · NVIDIA-AI-IOT/yolo_deepstream · GitHub
Is there anyway to debug Deepstream app? I means that we can put checkpoints, pause and see data type. I want to check some variables in the above file, but I can not how to do it.
Please give a guide. Thanks.
The simplest way is to add printing directly to the code. Then you can just use the
make command to recompile this library file in the
Thanks. I know this method, but I want more flexible method like gdb. Is there any other method?
NO. Because this is C/C++ code, it is recommended to directly debug the source code. But you can research for yourself if there is an IDE that meets your needs.
Deepstream-app is built from Makefile. Could we can debug Deepstream-app with Makefile changing?
What do you mean
Makefile changing? Makefile can control whether to compile the release library or debug library, it’s not for that you attached:
put checkpoints, pause and see data type.
I mean that, I can set flag in Makefile with debug option. Is it right?
Yes, you can refer to the link below with
-g parameter. https://www.gnu.org/software/make/manual/make.html
But, as I attached before, it’s not for your purpose:
put checkpoints, pause and see data type .
Yeah, I understood. Thanks a lot.
I set flag
-g in Makefile of deepstream-app, then I run
make and set breakpoint in deepstream_main.c, I want to break point can trigger to other file for example preprocessing part (in gstreamer), but it seem only trigger files in deepstream-app folder. How do i need to do to debug step by step of Deepstream-app because I want to check some steps in DS.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.