Lldb on scanf function

Hi,

Is it possible to debug a program which requires user input from stdin (scanf)? Especially during remote debugging with debugserver from iOS.

Previously I have used gdb and I was able to pass an input through gdb to process execution, and currently it seems like lldb isn’t designed to have such functional. If I’m right, is it possible to write some sort of a script to add the functional to lldb?

Thanks

@lolgrep Can you please help with this when you get a chance? Thank you - much appreciated! :]

This topic was automatically closed after 166 days. New replies are no longer allowed.