discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Single step a stream


From: WarMonkey
Subject: Re: [Discuss-gnuradio] Single step a stream
Date: Fri, 11 Jan 2019 10:59:34 +0800

Yes you can debug any gnuradio c++ module with gdb.
Step 1 uninstall gnuradio. 
Step 2 git clone gnuradio from github. 
Step 3 build gnuradio with debug symbols on. ( cmake .. -DCMAKE_BUILD_TYPE=Debug ) 
Step 4 reinstall custom build gnuradio.
Step 5 debug your application with gdb ( use qtcreator, vscode, atom as ide will be good  )

With gdb you can stop anywhere in application. Set a data breakpoint can trace stray value in variable.

在 2019年1月8日星期二,Rudolf Wigblurr <address@hidden> 写道:
Hi,
 
Is it possible to single step a flow graph?
 
I have a recorded stream of FSK modulated data with about 25 bursts of messages.
When this is later decoded I do not get 100% detection, about 4 of 25 bursts fails.
 
Now my thinking is can I play this burst by burst and see what is wrong.
So my plan was to stop the scheduler after each burst.
Can I control (stop) the scheduler when a 'tag' is detected and restart it with a GUI button.
 
Block,Python,C++ dosen't matter...
 
/Rudolf

reply via email to

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