Skip to content

[OoB_5.11.0-RC2]: Debugging with exporting vscode_gcc_arm failed #9017

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

Closed
1155105943 opened this issue Dec 7, 2018 · 4 comments
Closed

[OoB_5.11.0-RC2]: Debugging with exporting vscode_gcc_arm failed #9017

1155105943 opened this issue Dec 7, 2018 · 4 comments

Comments

@1155105943
Copy link

1155105943 commented Dec 7, 2018

Description

Steps to reproduce:

  1. mbed export -i vscode_gcc_arm -m K64F --profile debug
  2. Open folder from Visual Studio Code
  3. Debug -> Start debugging
  4. Error message occurred
The preLaunchTask 'make.exe' terminated with exit code 1.
  1. If I modify the "preLaunchTask": "make.exe" as "preLaunchTask": "" , the following error message will occur
'C:\Users\eriche03\OOB\mbed-os-example-blinky_back\...\mbed-os-example-blinky.elf' does not exist
  1. If I first compile the project by CLI and change the path of mbed-os-example-blinky.elf as correct path, the following error message will occur
Unable to start debugging. Debug server process failed to initialize.
  1. And the path of MIDebuggerPath is wrong on the file launch.json, I modified it before compile.

Environment:
Windows 10
Visual Studio Code

Pull request type

[ ] Question
[ ] Enhancement
[x] Bug
@cmonr
Copy link
Contributor

cmonr commented Dec 7, 2018

@janjongboom

@ciarmcom
Copy link
Member

ciarmcom commented Dec 7, 2018

Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-284

@TacoGrandeTX
Copy link
Contributor

@1155105943 Is this still causing you problems? If so - can you check that the make utility is in your path? If it is in the path, then you might be hitting an issue with the line length being too long as discussed here: #6335.

As for the debugging issue, do you see any output from the "Debug Console" tab?

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 14, 2019

@1155105943 I'll close this due to inactivity. If updated, can be reopened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants