[autoware.auto] GDB does not work inside Atom in ADE
I am following the directions here to try running GDB inside Atom in ADE:
These are the terminal commands I am using (they include the workspace preparation steps for code navigation); I just copied and pasted from the docs:
me@host:~/adehome/AutowareAuto 1$ ade start
me@host:~/adehome/AutowareAuto 1$ ade enter
me@ade:~$ cd ~/AutowareAuto
me@ade:~/AutowareAuto (master u=)$ rm -rf .clang_complete build install log
me@ade:~/AutowareAuto (master u=)$ export CC=$PWD/tools/clang_complete/cc
me@ade:~/AutowareAuto (master u=)$ export CXX=$PWD/tools/clang_complete/g++
me@ade:~/AutowareAuto (master u=)$ ctags -R .
me@ade:~/AutowareAuto (master u=)$ colcon build --cmake-args '-DCMAKE_BUILD_TYPE=Debug'
me@ade:~/AutowareAuto (master u=)$ atom
Then I open a package, say velodyne_node and set a breakpoint:
I click Launch Debugger... and fill out the info:
Then I click launch and get a whole slew of errors:
What's the right way to fix this?
Asked by Jeffrey Kane Johnson on 2020-03-20 07:45:38 UTC
Comments
Please edit your question to show exactly what you're doing to reproduce the problem. It's likey that you're not following the tutorial exactly and we need to know what you're actually doing to be able to give you advice how to resolve your problem.
This also looks strongly related to: https://answers.ros.org/question/347165/autowareauto-build-code-from-atom-does-not-work-in-ade/
Asked by tfoote on 2020-03-20 16:32:56 UTC
I update this question and the one you linked. Hope the info helps. I also have another question that is probably related: https://answers.ros.org/question/347183/autowareauto-code-navigation-does-not-work-in-atom-in-ade/
Asked by Jeffrey Kane Johnson on 2020-03-20 20:41:01 UTC
Please edit your existing question - you ended up creating 3 duplication questions
Asked by stevemacenski on 2020-03-21 01:39:34 UTC
@stevemacenski No, they are not duplicate questions. They are distinct problems I am having within Atom. @tfoote asked that I provide steps to reproduce the problems, and they happen to share the same setup steps in the terminal.
Asked by Jeffrey Kane Johnson on 2020-03-21 06:00:48 UTC
Hi Jeffrey,
did you resolve this problem? I ran into the same problem...
Asked by june on 2020-07-16 02:59:15 UTC
@june I never did resolve this. I just stopped using Atom :-).
Asked by Jeffrey Kane Johnson on 2020-07-16 11:46:21 UTC