-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to debug your project #16
Comments
Sorry for the late reply. I have never debugged Python in GNU Radio before, although I probably should. This is what I think is going on. GNU Radio installs the Python scripts/modules into either Alternatively, you can find the install directory of Let me know if it works. |
Hi~ Thank you for your reply. I tried to find the other way on the website. All information for debug gnuradio block used "gdb", such as "https://wiki.gnuradio.org/index.php/TutorialsDebugging". However, this demo couldn't use gdb due to its python code. So far... I have no idea how to debug this program with Pychram compiler. |
Sorry for the late reply. Unfortunately I don't have any other ideas. I would've thought one of those two methods would've worked. Apologies that I don't have a better (any) solution. Maybe post on the GNU Radio listserv to see if anyone has ideas. |
Hi~ Thank you for your demo. I am a beginner. I am trying to run your demo with pycharm and trying to debug how it works. Firstly, I have already installed this project. Then, I created the "adsb_rx" python script using gnuradio-companion. I ran the adsb_rx.py in pycharm, as shown in below.
![1542892087531](https://user-images.githubusercontent.com/3255575/48904854-bee73d80-ee9a-11e8-93ef-59a7d79cf7ac.jpg)
![1542892159263](https://user-images.githubusercontent.com/3255575/48904983-37e69500-ee9b-11e8-947b-88e7759a2fce.jpg)
Then, I set a breakpoint at "def work()"of framer.py, as shown in below.
![1542892427178](https://user-images.githubusercontent.com/3255575/48905107-96137800-ee9b-11e8-92c6-e99a09981268.jpg)
When I ran with debug mode. The program doesn't stop at my breakpoint. I didn't know why. Could you please tell me how did you debug your program?
Thank you very much and look forward to your reply :)
The text was updated successfully, but these errors were encountered: