|
From: Helge K. <Hel...@gm...> - 2020-03-04 16:19:01
|
Hi, after writing my first decoder half a year ago I want to start with a new decoder. The documentation pages - https://sigrok.org/wiki/Protocol_decoder_HOWTO - https://sigrok.org/wiki/Protocol_decoder_API show some help. But I feel uncomfortable with this alone. I hope that digging in my decoder with a debugger would help to learn what I get in my functions. How can I setup a debugger (I hope WinPDB, pdb would also be okay) on my Windows 10 PC? How can I attach the debugger to the running PulseView process, or can I start the program from the debugger? I am only an occasional visitor to python and sigrok, Honestly I have no idea where to start and what I should expect in my stacked decoder as input in the decoder. Do you have any recommendations? How do you develop a decoder? Best regards, Helge |