(MacOS High Sierra) ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". Command 'exec-run'. Invalid process during debug session
@pieandcakes がすでに取り組んでいます。
2018年7月16日 から。
評価
この issue はまだ評価されていません。
説明
Type: Debugger
OS: MacOS
Version: 10.13.6
Debugger: LLDB
launch.json:
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(lldb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/a.out",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"preLaunchTask": "echo",
"MIMode": "lldb",
"logging": { "engineLogging": true }
}
]
}
Logs:
1: (284) LaunchOptions ExePath='/Users/hgarg/testing-vscode/a.out'
1: (284) LaunchOptions WorkingDirectory='/Users/hgarg/testing-vscode'
1: (284) LaunchOptions ExeArguments=''
1: (284) LaunchOptions MIMode='lldb'
1: (284) LaunchOptions MIDebuggerPath='/Users/hgarg/.vscode/extensions/ms-vscode.cpptools-0.17.6/debugAdapters/lldb/bin/lldb-mi'
1: (284) LaunchOptions WaitDynamicLibLoad='false'
1: (284) LaunchOptions ExternalConsole='true'
1: (284) LaunchOptions>
1: (285) LaunchOptions</LocalLaunchOptions>
1: (388) Starting: "/Users/hgarg/.vscode/extensions/ms-vscode.cpptools-0.17.6/debugAdapters/lldb/bin/lldb-mi" --interpreter=mi
1: (407) DebuggerPid=61512
1: (575) ->(gdb)
1: (589) <-1001-gdb-set solib-search-path "/Users/hgarg/testing-vscode:"
1: (589) ->1001^done
1: (589) ->(gdb)
1: (591) 1001: elapsed time 3
1: (592) <-1002-environment-cd /Users/hgarg/testing-vscode
1: (592) ->1002^done,path="/Users/hgarg/testing-vscode"
1: (593) ->(gdb)
1: (596) 1002: elapsed time 3
1: (596) <-1003-gdb-set new-console on
1: (596) ->1003^done
1: (596) 1003: elapsed time 0
1: (596) <-1004-file-exec-and-symbols /Users/hgarg/testing-vscode/a.out
1: (597) ->(gdb)
1: (601) STDERR: Traceback (most recent call last):
1: (601) STDERR: File "<input>", line 1, in <module>
1: (601) STDERR: File "/Users/hgarg/anaconda2/lib/python2.7/copy.py", line 52, in <module>
1: (601) STDERR: import weakref
1: (601) STDERR: File "/Users/hgarg/anaconda2/lib/python2.7/weakref.py", line 14, in <module>
1: (601) STDERR: from _weakref import (
1: (601) STDERR: ImportError: cannot import name _remove_dead_weakref
1: (679) ->1004^done
1: (679) ->(gdb)
1: (679) 1004: elapsed time 82
1: (679) ->=library-loaded,id="/Users/hgarg/testing-vscode/a.out",target-name="/Users/hgarg/testing-vscode/a.out",host-name="/Users/hgarg/testing-vscode/a.out",symbols-loaded="1",symbols-path="/Users/hgarg/testing-vscode/a.out.dSYM/Contents/Resources/DWARF/a.out",loaded_addr="-",size="8192"
1: (681) <-1005-interpreter-exec console "platform status"
1: (681) -> Platform: host
1: (681) -> Triple: x86_64h-apple-macosx
1: (681) ->OS Version: 10.13.6 (17G65)
1: (681) -> Kernel: Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
1: (681) -> Hostname: 127.0.0.1
1: (681) ->WorkingDir: /Users/hgarg/testing-vscode
1: (681) ->1005^done
1: (681) ->(gdb)
1: (684) 1005: elapsed time 3
1: (688) <-1006-break-insert main
1: (690) ->1006^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000010000108a",func="main",file="main.cpp",fullname="/Users/hgarg/testing-vscode/main.cpp",line="5",times="0",original-location="main"}
1: (690) ->(gdb)
1: (690) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000000010000108a",func="main",file="main.cpp",fullname="/Users/hgarg/testing-vscode/main.cpp",line="5",times="0",original-location="main"}
1: (691) 1006: elapsed time 2
Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
1: (741) <-1007-exec-run
1: (5253) ->1007^error,msg="Command 'exec-run'. Invalid process during debug session"
1: (5253) 1007: elapsed time 4512
1: (5253) ->(gdb)
ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". Command 'exec-run'. Invalid process during debug session
1: (5270) <--gdb-exit
1: (5271) ->^exit
1: (5271) ->=thread-group-exited,id="i1"
1: (5271) ->(gdb)
1: (5271) ->
1: (5272) ->
1: (5275) <-logout
The program '/Users/hgarg/testing-vscode/a.out' has exited with code 42 (0x0000002a).
Folder Structure:

- 主要言語
- TypeScript
- スター
- 6.2k
- フォーク
- 1.7k
- 平均マージ
- 14時間 46分
- マージ済み PR(30日)
- 61
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/vscode-cpptools のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/vscode-cpptools#14787 ·
-
[Bug] cpptools fails to start on Ubuntu ARM64 due to missing execute permissions on shared libraries オープンbug fixed Language Service regression
microsoft/vscode-cpptools#14779 · 担当者 1 名 ·
-
Language Service more info needed
microsoft/vscode-cpptools#14778 · コメント 1 件 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
microsoft/vscode-cpptools#14769 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
microsoft/vscode-cpptools#14768 · コメント 1 件 ·
microsoft/vscode-cpptools の issue をすべて見る
似ている issue
-
Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenNSW/nsw-srilanka#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
digidem/comapeo-cloud-app#403 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100