Cannot get lldb to read file input through redirect

后端 未结 2 345
故里飘歌
故里飘歌 2020-12-24 15:04

I\'m using lldb as a standalone debugger in OSX. I\'m trying to debug a C executable, using a text file as input, by way of a redirect. The lldb do

2条回答
  •  时光取名叫无心
    2020-12-24 15:16

    I got it to work as follows:

    lldb 
    (lldb) settings set target.input-path 
    (lldb) process launch
    

    It solves my problem, but I don't really have an explanation for why the method in my question doesn't work.

提交回复
热议问题