René's URL Explorer Experiment


Title: fix(ios): keep debug-brk apps alive on devices with a native debugger by rigor789 · Pull Request #6183 · NativeScript/nativescript-cli · GitHub

Open Graph Title: fix(ios): keep debug-brk apps alive on devices with a native debugger by rigor789 · Pull Request #6183 · NativeScript/nativescript-cli

X Title: fix(ios): keep debug-brk apps alive on devices with a native debugger by rigor789 · Pull Request #6183 · NativeScript/nativescript-cli

Description: What is the current behavior? iOS kills an app that takes about 20 seconds to launch (0x8BADF00D). Waiting for or pausing in the JS debugger happens before UIApplicationMain, so that's what it looks like. The simulator already avoids this by attaching lldb. Devices didn't, so a debug-brk session on a device died about 20 seconds after launch. What is the new behavior? On devices, when an app is started waiting for a debugger, the CLI attaches lldb using the pid ios-device-lib reports, continues the app once the attach has stopped it, and detaches when the app stops. Limits: With lldb attached, a native crash will likely freeze the app in lldb instead of closing it, as on the simulator. This only applies to --debug-brk runs. Without a new enough ios-device-lib, on devices below iOS 17, or on an Xcode whose lldb lacks device commands (believed to be older than 16), nothing is attached and the 20-second limit still applies. Testing On an iPad on iPadOS 26.7: Case Result Waiting, nothing attached Killed between 17 and 21 s Waiting 25 s, then paused 40 s, with this change Alive throughout, resumes and runs The attach took about 4 seconds, and no lldb process was left after the CLI exited. Unit tests cover the attach, continuing only after the stop, and detaching. A real app (blackout) was also debugged this way. Part of a stack Base: #6176. Needs NativeScript/ios-device-lib#89 released, and NativeScript/ios#534. It compiles and does nothing harmful without them. Summary by CodeRabbit New Features When an iOS app is launched with debugger waiting enabled, a debugger attaches and resumes the app when it reports that it is stopped, or after a 10-second fallback. Bug Fixes Debugger sessions are detached before an app is started or stopped. Lingering debugger processes are terminated if they do not exit after detachment, and app stopping can proceed even if a debugger remains active. iOS app launch results now include application-specific details for each device.

Open Graph Description: What is the current behavior? iOS kills an app that takes about 20 seconds to launch (0x8BADF00D). Waiting for or pausing in the JS debugger happens before UIApplicationMain, so that's what it ...

X Description: What is the current behavior? iOS kills an app that takes about 20 seconds to launch (0x8BADF00D). Waiting for or pausing in the JS debugger happens before UIApplicationMain, so that's what...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6183

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:065f6f39-0454-6b58-36e3-c74b13731fbb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB66:311EEE:17FA91F:1FBE207:6B013DC3
html-safe-noncedd1a9b0814235f587a9d8c5e6e9906ab82864360e3f2ad671f581e0267e702bf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjY2OjMxMUVFRToxN0ZBOTFGOjFGQkUyMDc6NkIwMTNEQzMiLCJ2aXNpdG9yX2lkIjoiMTM5NjY4NTM1MTY5ODkwNjU2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9a18521e9523f0cf88f781af579e95849376e880e7218f544b69c872cceafb14
hovercard-subject-tagpull_request:5091727107
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6183/files
twitter:imagehttps://avatars.githubusercontent.com/u/879060?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/879060?s=400&v=4
og:image:altWhat is the current behavior? iOS kills an app that takes about 20 seconds to launch (0x8BADF00D). Waiting for or pausing in the JS debugger happens before UIApplicationMain, so that's what it ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6183/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6183%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6183%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6183/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6183/files
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6183/files
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
fix/ios-debug-brk-devicehttps://github.com/NativeScript/nativescript-cli/tree/fix/ios-debug-brk-device
Conversation 6 https://github.com/NativeScript/nativescript-cli/pull/6183
Commits 4 https://github.com/NativeScript/nativescript-cli/pull/6183/commits
Checks 12 https://github.com/NativeScript/nativescript-cli/pull/6183/checks
Files changed https://github.com/NativeScript/nativescript-cli/pull/6183/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6183/files
fix(ios): keep debug-brk apps alive on devices with a native debugger https://github.com/NativeScript/nativescript-cli/pull/6183/files#top
Show all changes 4 commits https://github.com/NativeScript/nativescript-cli/pull/6183/files
7b88759 fix(ios): keep debug-brk apps alive on devices with a native debugger rigor789 Oct 30, 2026 https://github.com/NativeScript/nativescript-cli/pull/6183/commits/7b88759d081572b4c2073ff9f1b650ecb64c55ed
57088a2 refactor(ios): type the pid ios-device-lib reports for a started app NathanWalker Nov 16, 2026 https://github.com/NativeScript/nativescript-cli/pull/6183/commits/57088a278b6a4ec4d18212a2e106ab472a72b436
cfe01cc fix(ios): keep the lldb attached for debug-brk from leaving the app s… NathanWalker Nov 16, 2026 https://github.com/NativeScript/nativescript-cli/pull/6183/commits/cfe01ccbe0fb060b0a09eaa726c6ba944f2348c9
89c774f fix(ios): wait for lldb to exit after killing it before stopping the app NathanWalker Nov 16, 2026 https://github.com/NativeScript/nativescript-cli/pull/6183/commits/89c774f70adea6228e8ca90ba04fe3c75c894f66
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6183/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6183/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6183/files
mobile.d.ts https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-be0f52812d78e0504e2ec7e97d53aaaf09812de3549ffff002bf4242f10cd597
ios-application-manager.ts https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
ios-device-operations.ts https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-d9a1c91bb243284a68134b81ceb6a7e37c5f750b1d3ae84ebf790d7747a58f56
ios-application-manager.ts https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-b5eb524c84cdf286aefa71e8f6f92e72c51f94c537242b00781dd957116dfa53
lib/common/definitions/mobile.d.tshttps://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-be0f52812d78e0504e2ec7e97d53aaaf09812de3549ffff002bf4242f10cd597
View file https://github.com/NativeScript/nativescript-cli/blob/89c774f70adea6228e8ca90ba04fe3c75c894f66/lib/common/definitions/mobile.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6183/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-be0f52812d78e0504e2ec7e97d53aaaf09812de3549ffff002bf4242f10cd597
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-be0f52812d78e0504e2ec7e97d53aaaf09812de3549ffff002bf4242f10cd597
lib/common/mobile/ios/device/ios-application-manager.tshttps://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
View file https://github.com/NativeScript/nativescript-cli/blob/89c774f70adea6228e8ca90ba04fe3c75c894f66/lib/common/mobile/ios/device/ios-application-manager.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6183/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-9f15f2160c19d2003d6ec08abd42d350e55653c57c271e4203ef72eb04f1ee8c
lib/common/mobile/ios/device/ios-device-operations.tshttps://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-d9a1c91bb243284a68134b81ceb6a7e37c5f750b1d3ae84ebf790d7747a58f56
View file https://github.com/NativeScript/nativescript-cli/blob/89c774f70adea6228e8ca90ba04fe3c75c894f66/lib/common/mobile/ios/device/ios-device-operations.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6183/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-d9a1c91bb243284a68134b81ceb6a7e37c5f750b1d3ae84ebf790d7747a58f56
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-d9a1c91bb243284a68134b81ceb6a7e37c5f750b1d3ae84ebf790d7747a58f56
https://github.com/NativeScript/nativescript-cli/pull/6183/files#diff-d9a1c91bb243284a68134b81ceb6a7e37c5f750b1d3ae84ebf790d7747a58f56
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6183/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6183/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.