[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to debug GNU Radio's C++ program from source code?

From: ????????
Subject: How to debug GNU Radio's C++ program from source code?
Date: Tue, 3 Aug 2021 20:39:48 +0800

Hi guys!
I want to know how to debug c++ code in gnuradio. As far as I know, after we run GRC, a Python file will be generated. The Python file connects various blocks, but if I debug this Python file directly, I cannot observe the internal operations of the C++ block. I want to know if there is any way to let me Can I see the contents of the c++work function when I run the python file? It's like executing a pure Python or pure C++ program.
If this is not possible because of the swig connection method, how can I observe the work of a C++ block's work function? If I look at the code directly, it is definitely not accurate enough. Can I write a demo by myself? Or other ways.
In addition, how to edit an existing block? I just want to modify its function slightly. Do I have to use gr_modtool to create a new OOT module and rewrite it based on the contents of the original block? You must also use debugging methods when writing, but I don't know how to do it.
in addition. I have tried the tutorials on the official website, but none of them worked. I also checked the previous mailing list, but it was not very helpful. I think anyone has a better solution?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]