sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Add file I/O auto instrumentation for FileHandle

Open philipphofmann opened this issue 1 year ago • 1 comments

Description

As pointed out in the docs, we currently don't support automatic instrumentation for file IO with FileHandle. Please upvote if you would like to have this feature.

philipphofmann avatar Aug 06 '24 14:08 philipphofmann

As this should mostly be a duplicate of the current swizzling of NSData and NSFileManager, with manual tracing like we offer for FileManager and Data, I asked Cursor to create a draft or swizzling NSFileHandle and implement methods for FileHandle. The PR would still require more time, but it's low priority so I'll keep the changes in philprime/file-handle-tracing but not work on this now.

philprime avatar Nov 28 '25 10:11 philprime