Unable to view NSView or NSScrollView on macOS 14
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 3.7k
- Forks
- 521
- PR merge metrics
- No merged PRs in 30d
Description
You can't view either of these classes in the runtime browser. I debugged it and in the case of NSScrollView, it was because one of the methods uses a block implementation (imp_implementationWithBlock). This causes -[RTBMethod dyldInfo] to return nil because it can't get the linker address of a block.
This made the three props that rely on that method return nil (categoryName, symbolName, filePath). Not having those leads to several issues so I just made them return @"(null)" to work around it.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at RTBMethod dyldInfo and trace the handling of methods created with imp_implementationWithBlock. Check how categoryName, symbolName, and filePath are used when this returns nil, then reproduce the issue by viewing NSView and NSScrollView in the runtime browser. Done means both classes are viewable without relying on the "(null)" workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100