{"id":22796520,"url":"https://github.com/macmade/rdar-29208438","last_synced_at":"2025-03-30T18:15:22.523Z","repository":{"id":140402355,"uuid":"73429389","full_name":"macmade/rdar-29208438","owner":"macmade","description":"rdar://29208438","archived":false,"fork":false,"pushed_at":"2021-08-02T22:52:57.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T20:36:12.854Z","etag":null,"topics":["apple","breakpoint","bug","linker","lto","optimisation","rdar"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/macmade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-10T23:23:49.000Z","updated_at":"2021-08-02T22:53:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"9366c3da-8757-4cee-892e-44eebdbc94d7","html_url":"https://github.com/macmade/rdar-29208438","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2Frdar-29208438","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2Frdar-29208438/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2Frdar-29208438/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macmade%2Frdar-29208438/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macmade","download_url":"https://codeload.github.com/macmade/rdar-29208438/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358321,"owners_count":20764366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple","breakpoint","bug","linker","lto","optimisation","rdar"],"created_at":"2024-12-12T05:13:27.040Z","updated_at":"2025-03-30T18:15:22.513Z","avatar_url":"https://github.com/macmade.png","language":"Objective-C","funding_links":["https://patreon.com/macmade","https://paypal.me/xslabs"],"categories":[],"sub_categories":[],"readme":"rdar://29208438\n===============\n\n![Status](https://img.shields.io/badge/status-duplicate-lightgray.svg?style=flat)\n[![Radar](https://img.shields.io/badge/rdar-29208438-blue.svg?style=flat)]\n(http://openradar.appspot.com/radar?id=4976964230184960)\n[![Contact](https://img.shields.io/badge/contact-@macmade-blue.svg?style=flat)](https://twitter.com/macmade)  \n[![Donate-Patreon](https://img.shields.io/badge/donate-patreon-yellow.svg?style=flat)](https://patreon.com/macmade)\n[![Donate-Gratipay](https://img.shields.io/badge/donate-gratipay-yellow.svg?style=flat)](https://www.gratipay.com/macmade)\n[![Donate-Paypal](https://img.shields.io/badge/donate-paypal-yellow.svg?style=flat)](https://paypal.me/xslabs)\n\nXcode - Breakpoints don't work with incremental LTO\n---------------------------------------------------\n\n - State: Duplicate (closed)\n - Product: Developer Tools\n - Rank: No Value\n - Date: 11-Nov-2016 00:13 AM\n\n### Status\n\n**Duplicate of 28529594 (closed)**\n\n\u003e Engineering has determined that your bug report is a duplicate of another issue and will be closed. \n\u003e \n\u003e The open or closed status of the original bug report your issue was duplicated to appears in the yellow \"Duplicate of XXXXXXXX\" section of the bug reporter user interface. This section appears near the top of the right column's bug detail view just under the bug number, title, state, product and rank.\n\u003e \n\u003e If you have any questions or concerns, please update your report directly here: http://bugreport.apple.com/.\n\n### Summary\n\nWhen using incremental link-time optimisation in Xcode, breakpoints won’t trigger...\n\nThe program will execute as if no breakpoints were set.\n\nThis only happen when LTO is set to incremental.  \nTargets without LTO or with the old monolithic LTO are not affected.\n\nThis is always reproductible, no matter which language is used.\n\n### Steps to Reproduce\nAttached is an example Xcode project which demonstrates the issue.\n\nIt only consist of a `main.m` file, with a _“hello, world”_.\n\nTry putting a breakpoint somewhere in the `main` function.\n\nNow there’re two schemes you need to test:\n\n - `LTO` - **With link-time optimisation.**  \n   Breakpoint won’t trigger.\n - `NO-LTO` - **Without link-time optimisation.**\n   Breakpoint will be hit as expected.\n\n### Expected Results\n\nThe breakpoint should be hit with both schemes.\n\n### Actual Results\n\nBreakpoint is not hit when using the scheme with incremental LTO.\n\n### Version\n\n - macOS Sierra 10.12.2 Beta (16C41B)\n - Xcode version 8.1 (8B62)\n\n_Note that the issue is also reproductible with Xcode version 8.2 beta (8C23)_\n\n### Configuration\n\nThe issue always occurs when using incremental LTO.\n\nRepository Infos\n----------------\n\n    Owner:\t\t\tJean-David Gadina - XS-Labs\n    Web:\t\t\twww.xs-labs.com\n    Blog:\t\t\twww.noxeos.com\n    Twitter:\t\t@macmade\n    GitHub:\t\t\tgithub.com/macmade\n    LinkedIn:\t\tch.linkedin.com/in/macmade/\n    StackOverflow:\tstackoverflow.com/users/182676/macmade\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacmade%2Frdar-29208438","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacmade%2Frdar-29208438","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacmade%2Frdar-29208438/lists"}