Skip to content
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

[bug] breakpoints not working ! #1240

Open
2 of 4 tasks
ZhaoJunnNie opened this issue Dec 14, 2023 · 3 comments
Open
2 of 4 tasks

[bug] breakpoints not working ! #1240

ZhaoJunnNie opened this issue Dec 14, 2023 · 3 comments
Labels
bug Something isn't working C++ Debugging ROS1

Comments

@ZhaoJunnNie
Copy link

(Please add appropriate labels)

  • Windows: (Version)
  • Linux: (Dist/Version) Ubuntu20.04
  • ROS 1: Dist noetic
  • ROS 2: Dist

<Version of the plugin>
v0.9.2
<Copy the Version information from the Help | About menu>

what is the bug

<current behavior>
use the ROS Launch in Debug, but breakpoints are not working, launch file has just one node

Repro steps

<how to reproduce the bug. Please attach sample files or github repo if appropriate.>
1.git clone https://github.com/shichaoy/cube_slam.git
2.install necessary packages
3.catkin_make -DCMAKE_BUILD_TYPE=Debug
4.create Debug for ROS Launch in "object_slam" and "object_slam.launch" which comments rviz node

expected behavior

<what you would expect to happen>
programs stop before breakpoints

additional context

I have tried to rm build and devel directory and catkin_make -DCMAKE_BUILD_TYPE=Debug, but it is still not working , here are some files in use
image
image
image
image
image

@ZhaoJunnNie ZhaoJunnNie added the bug Something isn't working label Dec 14, 2023
@ZhaoJunnNie
Copy link
Author

Sorry, I made a mistake on infos. code is on Linux: (Dist/Version) Ubuntu16.04 ROS 1: Dist kinetic, it is a docker container on Ubuntu20.04

@ooeygui
Copy link
Member

ooeygui commented Jan 8, 2024

Hi there,
Thank you for the reply. 16.04 is not officially supported.
Can you switch to pre-release in the container and try again?

@ooeygui ooeygui added the ROS1 label Jan 8, 2024
@ooeygui ooeygui changed the title breakpoints not working ! [bug] breakpoints not working ! Jan 8, 2024
@ZhaoJunnNie
Copy link
Author

Thanks for your reply! I finished the problem by adding "-DCMAKE_CXX_FLAGS=-g " in task.json without switching to pre-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C++ Debugging ROS1
Projects
None yet
Development

No branches or pull requests

2 participants