I am writing a custom C++ plugin to parse the output of my SSD based object detection model. However, there are some errors that come at runtime, but I’m not being able to see them on terminal. All I could see is Segmentation fault (core dumped) & then the execution ends.
But, I want to see the exact error, so that I can debug my code easily.
Kindly help me.
P.S:
I’m able to see a print statement in C++ plugin getting printed on the terminal.
If I put the same piece of code in a separate .cpp file & compile & run it, it shows the actual error(that I’m trying to access n+1 th element in an array with n elements).
But deepstream just says: Segmentation fault (core dumped)