Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve exception message when a type cannot be converted during marshaling #3

Open
CallumDev opened this issue Oct 14, 2015 · 2 comments

Comments

@CallumDev
Copy link
Owner

Issue by aarononeal
Saturday Nov 24, 2012 at 01:22 GMT
Originally opened as mono#90


Now when a type cannot be converted a more detailed exception message is generated stating the types converted from and to. This makes it easier to debug applications.


aarononeal included the following code: https://github.com/mono/monomac/pull/90/commits

@CallumDev
Copy link
Owner Author

Comment by marek-safar
Saturday Nov 24, 2012 at 08:58 GMT


This is what --debug=casts options is for

@CallumDev
Copy link
Owner Author

Comment by aarononeal
Saturday Nov 24, 2012 at 18:10 GMT


I think handling it directly in the code is less of a hassle and makes for a better out of box debugging experience. I understand though if you're fine with devs having to update their projects with parameter options for debugging, so feel free to close this pull if you decide not to incorporate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant