Hi Ekko,

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 marcus
> i use the gdb as you said,the i debug the python file again
> run the fie step by step 
> i found that the there is some problem with ‘channel model’,just like
>
> ​ you can see that 
> self.channels_channel_model_0 = channels.channel_model( 
> function is init the channel model block
> and 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 the 
>  Subroutine 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 output
> there is no attribute of this ,in other words 
> i 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

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to