![명령줄 도구를 디버깅하는 방법](https://rvso.com/image/1525426/%EB%AA%85%EB%A0%B9%EC%A4%84%20%EB%8F%84%EA%B5%AC%EB%A5%BC%20%EB%94%94%EB%B2%84%EA%B9%85%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95.png)
나는 (입력용) 및 (출력용) cdl
과 같은 명령줄 매개변수를 인식할 수 있는 명령줄 도구(라는 이름)를 작성했습니다 . LLVM()을 사용하여 디버깅하는 데 지쳤을 때 다음과 같은 오류가 발생했습니다.-i
-o
lldb cdl -i input.mp4 -o output_dir/
lldb: unrecognized option `-i input.mp4 -o test'
[the help info for lldb]
error: unknown or ambiguous option
이 문제를 어떻게 해결할 수 있나요?
답변1
노력하다 lldb -f cdl -- -i input.mp4 -o output_dir/
. 프로그램 인수는 --
.
원천:man lldb