vscode-debug-leetcode icon indicating copy to clipboard operation
vscode-debug-leetcode copied to clipboard

MacOS 11.4 M1 Debug ERROR

Open 908271822 opened this issue 3 years ago • 1 comments

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

908271822 avatar Jul 27 '21 13:07 908271822

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. Pasted image 20220315190928 Main reason: MAC uses lldb instead of cppdbg by default.

bianhao123 avatar Mar 15 '22 11:03 bianhao123