vscode-debug-leetcode
vscode-debug-leetcode copied to clipboard
MacOS 11.4 M1 Debug ERROR
Debug ERROR
ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". process exited with status -1 (attach failed ((os/kern) invalid argument))
Using CodeLLDB that comes with VScode ,Because Xcode's built-in lldb cannot enter the breakpoint
modify file /Users/bianhao/.vscode/extensions/wangtao0101.debug-leetcode-0.2.3/out/src/debug/executor/cppExecutor.js
. The type of in funtion getClangDefaultConfig is lldb.
Main reason: MAC uses lldb instead of cppdbg by default.