Skip to content

Fix recursive {this} evaluation in Natvis#1549

Open
WardenGnaw wants to merge 1 commit intomainfrom
dev/waan/recursiveThis
Open

Fix recursive {this} evaluation in Natvis#1549
WardenGnaw wants to merge 1 commit intomainfrom
dev/waan/recursiveThis

Conversation

@WardenGnaw
Copy link
Member

This PR addresses the issue where using this in natvis causes it to recursively evaluate. Added a check during evaluation if the name is this, special case to just return as is instead of contuining recursing.

Added tests to handle the case.

Addresses #1391

@WardenGnaw WardenGnaw force-pushed the dev/waan/recursiveThis branch from dc07d1d to ad1ae1c Compare March 14, 2026 00:05
This PR addresses the issue where using `this` in natvis causes it to
recursively evaluate. Added a check during evaluation if the name is
this, special case to just return as is instead of contuining recursing.

Added tests to handle the case.

Addresses #1391
@WardenGnaw WardenGnaw force-pushed the dev/waan/recursiveThis branch from ad1ae1c to aaf9e66 Compare March 14, 2026 22:48
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.

2 participants