Jeff, 1) Is the c++ code built with Debug symbols (CMAKE_BUILD_TYPE=Debug) 2) Have you installed your built files? When running from python, VSCode uses the current PYTHONPATH in the environment and loads the .so files from there, not from the build directory
Josh On Mon, Nov 14, 2022 at 8:29 PM Jeff S <e070...@hotmail.com> wrote: > I have been using VS Code for debugging code according to > https://wiki.gnuradio.org/index.php/UsingVSCode. I thought I would try > doing the same thing but using the Python QA tests to start the code rather > than the flow graph Python. I can’t seem to get the C++ code to break when > using the QA Test as starting point and just wondered if anyone could, and > what the launch.json configuration was for doing that. I’ve tried both > launching from VS Code and attaching to a process with the same results. > > > > I’m currently at GR v3.9.5.0 and VSC v1.73. > > > > Regards, > > Jeff >