[
https://issues.apache.org/jira/browse/THRIFT-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew McGeachie updated THRIFT-344:
------------------------------------
Attachment: thrift-344-with-cocoa-generator-option.patch
Here's an improved patch which adds a "log_unexpected" option to the cocoa
generator. This makes the behavior optional, and off by default, so existing
users won't suddenly see these log msgs dumped to system.log.
> Add some debug output when unexpected field types and field IDs are
> encountered
> -------------------------------------------------------------------------------
>
> Key: THRIFT-344
> URL: https://issues.apache.org/jira/browse/THRIFT-344
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (Cocoa)
> Reporter: Andrew McGeachie
> Assignee: Andrew McGeachie
> Priority: Trivial
> Attachments: thrift-344-with-cocoa-generator-option.patch
>
>
> It would very much help debugging if the generated Cocoa code output some
> debug info when an unexpected field ID or unexpected field type is
> encountered when reading in a struct.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.