我有一个lldb命令文件,其中包含以下文本:
settings set -- auto-confirm true
breakpoint set --name main
process launch
continue
quit我正在尝试使用以下命令创建一个命令文件:
lldb --source lldb_start_single_step program但是,我得到了以下输出:
Executing commands in 'lldb_start_single_step'.
(lldb) settings set -- auto-confirm true
' failed with error: invalid boolean string value: 'true ttings set -- auto-confirm true
Current executable set to 'program' (x86_64).我尝试过寻找解决方案,但似乎什么也找不到,因为lldb似乎还没有太多的文档。
发布于 2014-01-10 07:34:22
我想通了。我使用的是vim,它被设置为提供dos行结尾,它们需要转换为unix。
任何有同样问题的人都可以参考http://vim.wikia.com/wiki/File_format
https://stackoverflow.com/questions/21030040
复制相似问题