microsoft / microsoft/vscode-cpptools

error while processing request 'launch' (exception: libc.dylib) vscode

Open
#2,542 1 comment 0 reactions 1 assignee View on GitHub

@pieandcakes is already working on this.

Since Sep 26, 2018.

debugger
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

Description

Type: Debugger
Input information below

This is not really debugger related but when I'm both attempting to debug or to run the program

screen shot 2018-09-22 at 11 24 04 am

Describe the bug

  • OS and Version: OSX 0.13.5 (17F77)
  • VS Code Version: Version 1.27.2 (1.27.2)
  • C/C++ Extension Version: 0.18.1

I'm getting an window pop up saying error while processing request 'launch' (exception: libc.dylib) vscode

screen shot 2018-09-22 at 11 18 29 am

launch.json

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(lldb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "simple",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": true,
            "MIMode": "lldb"
        }
    ]
}

sample.cpp

#include <iostream>

using namespace std;
int main() {
    string message = "Hello World";
    cout << message << endl;
    return 0;
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.