It appears that support for setting next statement during debug is missing within PCL projects
### Steps to Reproduce
1. Create PCL Forms app
2. Set breakpoint with PCL project
3. Run project
4. Attempt to set next statement
### Expected Results
You should be able to set next statement
### Actual Results
The option is not allowed/greyed out
Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Installed Version: Professional
Visual Basic 2015 00322-40000-00000-AA453
Microsoft Visual Basic 2015
Visual C# 2015 00322-40000-00000-AA453
Microsoft Visual C# 2015
Visual C++ 2015 00322-40000-00000-AA453
Microsoft Visual C++ 2015
Visual F# 2015 RC 00322-40000-00000-AA453
Microsoft Visual F# 2015 RC
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Generates unit test code for methods in classes under test.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
Xamarin 3.11.836.0 (ed5c750)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin.Android 22.214.171.124 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.
Xamarin.iOS 126.96.36.199 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.
Xamarin.iOS Unified Migration 1.0
Automated migration for Xamarin iOS Classic projects to Unified
Early preview of Xamarin Test Cloud integration
Created attachment 12666 [details]
Screenshot of the menu command in question
From the associated forum thread: http://forums.xamarin.com/discussion/49246/unable-to-set-next-statement-in-visual-studio-and-change-the-value-of-pcl-project-while-debugging
There is a ThreadMirror.SetIP () method in the Mono.Debugger.Soft api which does this.
-> reopen. Move off c7 milestone.
Probably should be moved to another product (VS?)
Marking as confirmed. Set next statement works inside a console project, but not a PCL project.
I have confirmed the actual cause of the issue. Unless the PCL assembly is loaded, Set Next Statement will not work. Doing Set Next Statement after the assembly has been loaded, it'll work.
I'm moving this to VS Extension since screenshot is showing VS not XS(VSfM)... Also this is now(it wasn't in 2015) supported in runtime and VSfM...
Not sure if VS extensions support it now.
What Marius was reporting as confirmed in VSfM was that we don't support setting into another functions/methods, which is not and won't be supported... To make it more clear to user I created this PR: https://github.com/mono/debugger-libs/pull/159