really, use GDB, not Pdb. Just "run" your program, than "backtrace"; stepping through it is really really tedious, and isn't really extremely helpful unless you know intimately where to look.
As Tom mentioned, the debugging (and the GDB) tutorial will be helpful.
Best regards,
Marcus
On 24.11.2015 15:40, chai E wrote:
hi marcusi use the gdb as you said,the i debug the python file againrun the fie step by stepi found that the there is some problem with 'channel model',just likeself.channels_channel_model_0 = channels.channel_model(function is init the channel model blockand the noise_voltage =0.0001 ,frequency_offset=0 and so on is the parameter of 'channel model'after the parameter is inited,the program should call theSubroutine to pass this parameters,but you can see that the program aborted,
then i use command p to view the value of self.channels_channel_model_0,but i got the outputthere is no attribute of this ,in other wordsi think that there is some problem with the channel model in the pre-installed gnuradio.
hope you can confirm this problem
--Ekko
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:
Post a Comment