Skip to content

Improving state debugger to show live values, binary, etc#1583

Merged
jimon merged 4 commits intodevelopfrom
dmytro/state-debugger-improvements
Oct 7, 2022
Merged

Improving state debugger to show live values, binary, etc#1583
jimon merged 4 commits intodevelopfrom
dmytro/state-debugger-improvements

Conversation

@jimon
Copy link
Copy Markdown
Contributor

@jimon jimon commented Sep 22, 2022

Description

Improved our state debugger window.

Changes made

Added support for:

  • Live refresh
  • Binary view
  • Highlighting changed values
  • Showing Noise/Reset masks

@jimon jimon requested a review from andrew-oc September 22, 2022 14:38
@unity-cla-assistant
Copy link
Copy Markdown

unity-cla-assistant commented Sep 23, 2022

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Collaborator

@ekcoh ekcoh left a comment

Choose a reason for hiding this comment

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

LGTM, I think its a neat and useful improvement to the debugger. As a potential future additional improvement it might be useful to "fade out / mix back the color" changed bits/bytes over time (e.g. 2 seconds) - this doesn't need to be considered here.

public static GUIStyle hexLabel = new GUIStyle
{
fontStyle = FontStyle.Normal,
font = Font.CreateDynamicFontFromOSFont("Courier", EditorStyles.label.fontSize + 2),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Related to comment of Courier in sync, see https://www.grputland.com/2012/08/font-stacks-that-look-similar-in.html#cour20120806 for platform specific options for linux, mac, win if there is a desire to use something else. However I think this is fine as is and I think its the right call to align with other editor monospaced representations if there is nothing bundled.

@jimon jimon merged commit 2a51b10 into develop Oct 7, 2022
@jimon jimon deleted the dmytro/state-debugger-improvements branch October 7, 2022 10:36
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.

3 participants