Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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
Developer Community or GitHub 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.
Created attachment 1462 [details]
When debugging a nunit test, the debugger steps into framework code even though the "do not step into framework code" option is enabled.
How to reproduce (see attachment):
1) open the solution ;)
2) open Test.cs
3) put breakpoint in the "Run" method (line 12)
4) build the solution (F8)
5) make sure the "debug project code only; do not step into framework code" option in the preferences is ticked
6) switch to "unit testing" view
7) right click on the root item
8) select "Run test with"
9) select "Mono Soft Debugger"
10) when stopped at the breakpoint, use "step into" (F11)
At this point, the debugger steps into TimeSpan.cs framework code.
Doing a similar test with a normal executable, the setting is honored.
MonoDevelop version is 22.214.171.124 RC3, mono is 126.96.36.199
the NUnit test runner isn't properly setting the user assembly list
Should work now.
@Jeffrey: The API didn't support it - I just added a parameter to handle that case, but it's not really a good & clean solution.