[autoware.auto] GDB does not work inside Atom in ADE [closed]

asked 2020-03-20 07:45:38 -0500

updated 2020-03-20 20:39:53 -0500

I am following the directions here to try running GDB inside Atom in ADE:

https://autowarefoundation.gitlab.io/...

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:

image description

I click Launch Debugger... and fill out the info:

image description

Then I click launch and get a whole slew of errors:

image description

What's the right way to fix this?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by stevemacenski
close date 2020-03-21 01:39:12.896968

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/3471...

tfoote gravatar image tfoote  ( 2020-03-20 16:32:56 -0500 )edit

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/3471...

Jeffrey Kane Johnson gravatar image Jeffrey Kane Johnson  ( 2020-03-20 20:41:01 -0500 )edit

Please edit your existing question - you ended up creating 3 duplication questions

stevemacenski gravatar image stevemacenski  ( 2020-03-21 01:39:34 -0500 )edit

@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.

Jeffrey Kane Johnson gravatar image Jeffrey Kane Johnson  ( 2020-03-21 06:00:48 -0500 )edit

Hi Jeffrey,

did you resolve this problem? I ran into the same problem...

june gravatar image june  ( 2020-07-16 02:59:15 -0500 )edit

@june I never did resolve this. I just stopped using Atom :-).

Jeffrey Kane Johnson gravatar image Jeffrey Kane Johnson  ( 2020-07-16 11:46:21 -0500 )edit