apollo icon indicating copy to clipboard operation
apollo copied to clipboard

problem when debug apollo using vscode

Open sunnyguanguanguan opened this issue 7 years ago • 9 comments

System information

  • ** Linux Ubuntu 16.04
  • Apollo version 3.0:

Steps to reproduce the issue:

when i use vscode debug apollo project ,i meet some problem. after press F5,get some problrm like this:

Unable to start debugging. Program path '/home/zlab-apollo/apollo/bazel-bin/modules/planning/planning' is missing or invalid. GDB failed with message: /home/zlab-apollo/apollo/bazel-bin/modules/planning/planning: 没有那个文件或目录. This may occur if the process's executable was changed after the process was started, such as when installing an update. Try re-launching the application or restarting the machine.

i look for the path,and i found that in apollo files,there is a soft link name bazel-bin,but when i click it ,it erro: 无法使用此链接,因为其目标 “/root/.cache/bazel/_bazel_root/540135163923dd7d5820f3ee4b306b32/execroot/apollo/bazel-out/local-dbg/bin”不存在。 2019-04-25 16-47-50屏幕截图 2019-04-25 16-48-04屏幕截图

Supporting materials (screenshots, command lines, code/script snippets):

sunnyguanguanguan avatar Apr 25 '19 08:04 sunnyguanguanguan

@sunnyguanguanguan have you tried following the steps mentioned in this guide

natashadsouza avatar Apr 25 '19 19:04 natashadsouza

@sunnyguanguanguan have you tried following the steps mentioned in this guide

actually,i install docker-ce using /apollo/docker/setup_host/install_docker.sh,then i can pull images and open dreamviwer successfully . And,i can open Apollo project and build successfully in vscode. vscode

sunnyguanguanguan avatar Apr 26 '19 08:04 sunnyguanguanguan

@sunnyguanguanguan so was your build successful?

natashadsouza avatar Apr 29 '19 22:04 natashadsouza

Closing this issue as it appears to be resolved. Feel free to reopen if you have additional questions. Thanks!

natashadsouza avatar May 13 '19 21:05 natashadsouza

The same problem as you show, and make a soft link mauually. I wonder that how you solve it. Thanks

Hongmin2018 avatar Jun 18 '19 03:06 Hongmin2018

I encountered the same problem, how did you solve it?

wuzp986 avatar Aug 01 '20 05:08 wuzp986

I also ncountered the same problem, how did you solve it?

EthanCodesss avatar Mar 09 '22 12:03 EthanCodesss

How did you solved it? I met the same trouble.

Nancy22-NJ avatar Jul 05 '23 13:07 Nancy22-NJ

@sunnyguanguanguan have you tried following the steps mentioned in this guide

I'm sorry that this link is invalid, have you solved this problem?

Nancy22-NJ avatar Jul 05 '23 13:07 Nancy22-NJ