Bug 57160 - Passing Nullable<int> parameter to method via SDB doesn't work
Summary: Passing Nullable<int> parameter to method via SDB doesn't work
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Zoltan Varga
Depends on:
Blocks: 57149
  Show dependency tree
Reported: 2017-06-06 06:53 UTC by David Karlaš
Modified: 2017-06-12 10:49 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description David Karlaš 2017-06-06 06:53:13 UTC
Here I made unit tests that don't pass https://github.com/DavidKarlas/mono/commit/985f9c926a
From my understanding of https://github.com/mono/mono/blob/bfa744e/mono/mini/debugger-agent.c#L6577-L6600 it should just work...
Comment 1 Zoltan Varga 2017-06-08 18:40:09 UTC
In the sdb api, nullables are modelled as in the underlying IL, i.e. they are a StructMirror.
Comment 2 Zoltan Varga 2017-06-10 00:37:38 UTC
Comment 3 Zoltan Varga 2017-06-10 19:46:51 UTC
Fixed in master 60d58d9128334a4aee72ed3a38d21177a12d8f10. Feel free to backport whenever its needed.
Comment 4 Zoltan Varga 2017-06-10 19:47:01 UTC
Comment 5 David Karlaš 2017-06-12 10:49:29 UTC
It never worked, hence no need to backport.