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

command:sweetpad.debugger.getAppPath is not updated #74

Open
aelam opened this issue Nov 15, 2024 · 0 comments
Open

command:sweetpad.debugger.getAppPath is not updated #74

aelam opened this issue Nov 15, 2024 · 0 comments

Comments

@aelam
Copy link
Contributor

aelam commented Nov 15, 2024

I use this to debug my app, but the command:sweetpad.debugger.getAppPath seems not to be updated
because it's launched a simulator that I didn't install the app
i.e. my current simulator in VSCode is iPhone 16 pro but when I tried to attach like the below it will launch iPhone 16 plus which doesn't even install my app.

but actually I have built on iPhone 16 Pro quite a few times and I don't use iPhone 16 plus at all.

Could you please help check this issue.

        {
            "type": "lldb",
            "request": "launch",
            "name": "Attach",
            "program": "${command:sweetpad.debugger.getAppPath}",
            "initCommands": [
                "command source ~/.lldbinit"
            ]
        },

Why don't I use

        {
            "type": "sweetpad-lldb",
            "request": "launch",
            "name": "Attach to iOS app (SweetPad)",
            "preLaunchTask": "sweetpad: launch",
            "codelldbAttributes": {
                "initCommands": [
                    "command source ~/.lldbinit"
                ]
            }
        },

because my project is huge that the debugger never attaches to the process that I have to attach like as my first json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant