1

I'm attempting to debug my program with lldb beacuse I'm getting a segmentation fault when entering a specific input that should would. I give my program the input through a text file and normally I write this command to run it:

./program <tests/test1.maze> program.out

How do I run the debugger whilst still passing in the file? Haven't been able to find anything that says how to do this.

1 Answer 1

2
(lldb) process launch -i <file>

Use the help command to view all available options.

(lldb) help process launch
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.