Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable use of XCode 16 lldb device command #1182

Open
rpedretti opened this issue Nov 21, 2024 · 0 comments
Open

Enable use of XCode 16 lldb device command #1182

rpedretti opened this issue Nov 21, 2024 · 0 comments
Labels
enhancement Enchancement request

Comments

@rpedretti
Copy link

Currently it's really hard to debug an app on iOS device because of the integration with debugserver and other external tools.

Now, on XCode 16 we can launch an app with xcrun devicectl launch --json-output <json file path> --device <device udid> ... (you can even start with --start-stopped if you want to wait for the debugger to attach) and attach to the process on the device by running 2 simple commands on LLDB :

device select <device udid>
device process attach --pid <app pid>

Where we can get the pid from the output json file.

It would be great if we could use this to make it possible to debug with native tool that handles all the complexity without having to rely on external tools.

@rpedretti rpedretti added the enhancement Enchancement request label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enchancement request
Projects
None yet
Development

No branches or pull requests

1 participant