Skip to content

Conversation

@pictos
Copy link
Contributor

@pictos pictos commented May 15, 2025

Note

Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!

Description of Change

Added System.Diagnostics for debugging support. Introduced DebuggerDisplay attribute to ViewHandler class and added GetDebuggerDisplay method to improve object state visibility during debugging.

Issues Fixed

Fixes #29537

Debugger_Display_Handler

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.
Copilot AI review requested due to automatic review settings May 15, 2025 23:53
@pictos pictos requested a review from a team as a code owner May 15, 2025 23:53
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label May 15, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @@pictos! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances debugging support for the ViewHandler class by adding a DebuggerDisplay attribute and a helper method to improve the visibility of handler state in debuggers.

  • Imported System.Diagnostics namespace
  • Applied [DebuggerDisplay] attribute to ViewHandler
  • Added GetDebuggerDisplay method for custom debugger text

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen PureWeen changed the base branch from main to inflight/current May 19, 2025 18:22
@PureWeen PureWeen merged commit 589a78e into dotnet:inflight/current May 19, 2025
123 of 130 checks passed
@pictos pictos deleted the debugger-view-for-handlers branch May 19, 2025 18:26
PureWeen pushed a commit that referenced this pull request May 21, 2025
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
PureWeen pushed a commit that referenced this pull request May 21, 2025
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request May 22, 2025
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request May 30, 2025
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request May 30, 2025
* Enhance debugging in ViewHandler.cs

Added System.Diagnostics for debugging support. Introduced
DebuggerDisplay attribute to ViewHandler class and added
GetDebuggerDisplay method to improve object state visibility
during debugging.

* Update src/Core/src/Handlers/View/ViewHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Gerald Versluis <gerald@verslu.is>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rmarinho rmarinho added this to the .NET 9 SR8 milestone May 30, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement] Improve debugger display for ViewHandlers

5 participants