Skip to content

Windows Forms Designer debugging in NetCore #4878

Description

@SenthilKumaranRajan

We could not able to perform design time debugging in NetCore Windows Forms.

We have tried to perform debugging as we perform for dot NetFramework but our source code cannot be able to debug at design time. We have followed the below steps.

  1. Set the breakpoint in our custom control constructor.
  2. Set the start-up project as “devenv.exe”.

image

  1. On running the application it shows another VisualStudio instance where we will select the project that we need to debug.
  2. Then on opening the designer and adding the custom control from the toolbox.

Expected result:
The Breakpoint set at our custom control constructor should hit.

Observed result:
The breakpoint hit properly in the .Net Framework project. But not for the Net core project.

Please let us know if we need to enable any other operations to debug for the NET core project.

Note:
We have enabled the preview feature for NetCore.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions