fireplusteam / ios-swift-for-vs-code

VS Code extension to Write/Debug/Build/Test iOS applications on Visual Studio Code
Other
20 stars 0 forks source link

can i config custom lldb init command ignore 'Stop reason: signal SIGUSR1' cause the app suspend? #6

Open touchmii opened 1 day ago

touchmii commented 1 day ago

use this command can ignore SIGUSR1 fix this issue, xcode doesnott have this problem.

process handle --stop false SIGUSR1

ScreenShot 2024-09-19 at 10 37 38 PM

touchmii commented 1 day ago

place .lldbinit file in project root dir or home dir not work.

fireplusteam commented 1 day ago

Updated extension to 0.0.17 (probably you need to wait until it's available on a store) update please on vs market and use the following:

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "xcode-lldb",
            "name": "iOS: Run App & Debug",
            "request": "launch",
            "target": "app",
            "isDebuggable": true,
            "lldbCommands": [
                "process handle --stop false SIGUSR1"
            ]
        }
    ]
}
fireplusteam commented 1 day ago

update is live, let me know if it works for you