Skip to content

add a [DebuggerDisplay] attribute to show necessary information on the debugger#3764

Merged
ArcturusZhang merged 7 commits intoAzure:feature/v3from
ArcturusZhang:add-debugger-display-to-make-debugging-easier
Sep 22, 2023
Merged

add a [DebuggerDisplay] attribute to show necessary information on the debugger#3764
ArcturusZhang merged 7 commits intoAzure:feature/v3from
ArcturusZhang:add-debugger-display-to-make-debugging-easier

Conversation

@ArcturusZhang
Copy link
Member

@ArcturusZhang ArcturusZhang commented Sep 22, 2023

Description

with the attribute, when debugging, we could see some information for the type provider:
image

before this change, the debugger is only showing the type which usually is useless.
image

The attribute is now applied to:

  • TypeProvider
  • Languages which contains the name of a schema in code model
    image

Checklist

To ensure a quick review and merge, please ensure:

  • The PR has a understandable title and description explaining the why and what.
  • The PR is opened in draft if not ready for review yet.
    • If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review
  • The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

  • Build is completely green
    • Submissions with test failures require tracking issue and approval of a CODEOWNER
  • At least one +1 review by a CODEOWNER
  • All -1 reviews are confirmed resolved by the reviewer
    • Override/Marking reviews stale must be discussed with CODEOWNERS first

@ArcturusZhang ArcturusZhang changed the title add a [DebuggerDisplay] attribute to TypeProvider to show necessary information on the debugger add a [DebuggerDisplay] attribute to show necessary information on the debugger Sep 22, 2023
@ArcturusZhang ArcturusZhang merged commit 8450c76 into Azure:feature/v3 Sep 22, 2023
@ArcturusZhang ArcturusZhang deleted the add-debugger-display-to-make-debugging-easier branch September 22, 2023 08:20
live1206 pushed a commit to live1206/autorest.csharp that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants