Re: [Discuss-gnuradio] debugging for gnuradio DSP programming

2018-05-30 Thread Ernest Fardin
Hi Linda, The argument to boost::format() might need to be checked. GR_LOG_DEBUG() is used in [1], for example. Cheers, Ernest [1] https://github.com/gnuradio/gnuradio/blob/493338d86d82e9 e10f5d9d4b42f2473b7275c7a2/gr-blocks/lib/test_tag_variable_r ate_ff_impl.cc#L80 On Wed, May 30, 2018 at

Re: [Discuss-gnuradio] debugging for gnuradio DSP programming

2018-05-30 Thread Linda20071
Thanks for your detailed information. I have done a lot of DSP programming in other environments but not in gnuradio. So your wiki page is helpful. The reason I posted the question is that, I was unable to get the log output in my screen with the following codes in the work function: {{{

Re: [Discuss-gnuradio] debugging for gnuradio DSP programming

2018-05-30 Thread CEL
Hi Linda, for debugging *programmatic* things (i.e. crashes, program doesn't calculate what I think it should), you'd use a debugger: https://wiki.gnuradio.org/index.php/TutorialsDebugging https://wiki.gnuradio.org/index.php/TutorialsGDB for debugging *algorithmic* things (i.e. I don't know why