Probes - Debug and saving a state

Setup information:
• Hardware Platform (Jetson NX)
• DeepStream 5.1
• JetPack Version 4.5.1

We are developing a fast algorithm which we try to implement in a python probe. We would ask if you could provide us with references for two questions:

  1. Debugging a probe - is it possible to get into a probe in debug mode with a breakpoint (with pycharm).
    We tried using ptvsd as described here but it seems to be deprecated and doesnt work.

  2. A stateful probe - probe that holds a python class, which contains a state influenced by each frame.

Thank you.


Is this a general GStreamer question?
Do you use anything specific to the Deepstream?


We develop a deepstream pipeline using nvinfer, tracker and a probe that is attached to the tracker’s sink.
It might be also relevant to a general gstreamer pipeline, but our pipeline is a python deepstream pipeline.

How about pdb - pdb — The Python Debugger — Python 3.10.0 documentation ?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.