Skip to content

Enhance debugging in ViewHandler.cs #29538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025

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 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
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 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

@jsuarezruiz
Copy link
Contributor

/azp run

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 <[email protected]>

---------

Co-authored-by: Gerald Versluis <[email protected]>
Co-authored-by: Copilot <[email protected]>
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 <[email protected]>

---------

Co-authored-by: Gerald Versluis <[email protected]>
Co-authored-by: Copilot <[email protected]>
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 <[email protected]>

---------

Co-authored-by: Gerald Versluis <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community ✨ Community Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Improve debugger display for ViewHandlers
4 participants