Skip to content

Step-into not working properly for a method with a constructor as parameter. #232

@taori

Description

@taori

How to reproduce:

  • create a new wpf application

  • add nuget reference
    <package id="Amusoft.UI.WPF" version="0.2.5-alpha00112" targetFramework="net461" />

  • inject codebehind code:

private void ButtonBase_OnClick(object sender, RoutedEventArgs e)
{

      //var manager = NotificationHostManager.GetHostByScreen(Screen.PrimaryScreen);

      var manager = NotificationHostManager.GetHostByVisual(this);
      foreach (AnchorPosition value in Enum.GetValues(typeof(AnchorPosition)))
      {
           manager.DisplayAsync(new SimpleNotification($"Test notification {value}."), value);
      }
}

press F11 at DisplayAsync

  • now you enter SimpleNotifaction constructor

  • shift F11 + F11 should enter DisplayAsync - it does not

  • Only using F11 to enter DisplayAsync** - it does not work
    image

Is this a known issue? SourceLink is pretty cool, but if debugging using F11/shift+F11 does not work that makes it rather useless.

Artifacts are available at https://ci.appveyor.com/project/taori/amusoft-ui-wpf/branch/dev/artifacts

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions