|
From: | Josh Morman |
Subject: | Re: OOT C++ source code debugging |
Date: | Wed, 16 Feb 2022 14:49:42 -0500 |
If you are planning to update the wiki soon, I will wait until it's finished.śr., 16 lut 2022 o 18:14 Josh Morman <jmorman@gnuradio.org> napisał(a):Yes - though VSCode has made a lot of progress, so some of the steps are not necessary. I need to update the wiki here.Namely, you don't have to run as sudo anymore, or give the user-data-directory on launch of codeOn Wed, Feb 16, 2022 at 11:55 AM Marcin Puchlik <m.puchlik@is-wireless.com> wrote:Hi Josh,Thanks for the response. Are you talking about this guide: https://wiki.gnuradio.org/index.php?title=UsingVSCodeśr., 16 lut 2022 o 14:55 Josh Morman <jmorman@gnuradio.org> napisał(a):Hi Marcin,The directions for GDB debugging with Eclipse are fairly old (and I haven't used them myself). Debugging an OOT using Visual Studio Code is fairly trivial however.JoshOn Wed, Feb 16, 2022 at 8:19 AM Marcin Puchlik via GNU Radio, the Free & Open-Source Toolkit for Software Radio <discuss-gnuradio@gnu.org> wrote:Hi Community,I am following the tutorial on how to debug a custom OOT module [link]. Problem that I encounter is that the program doesn't stop at the breakpoints that I set in the work() function. Steps that I take are:1. Run the QA python test2. Attach GDB to the running QA program4. After the attach (GDB brakes the running program)4. After clicking RESUME (seems like it waits correctly)5. Then I press enter in the consoleAnd the program ends without stopping at the breakpoints.Do you know what could cause the problem? Or did I miss something?Details:
- GNU Radio - 3.8.4.0
- Operating System details:
- Distributor ID: Ubuntu
- Description: Ubuntu 20.04.2 LTS
- Release: 20.04
- Codename: focal
- Eclipse Version: 2021-12 (4.22.0)
- GDB: GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Thanks in advanceMarcin Puchlik
[Prev in Thread] | Current Thread | [Next in Thread] |