© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4w ago•
6 replies
Mgamerz

Debugging internal WPF methods

wpf
I have an app that was on .NET 8 with WPF. I have upgraded it to .NET 10, and I've found that ListBox.ScrollIntoView(item) seems to have stopped working. I am not 100% sure it is due to .NET 10 upgrade (yet) but I have been debugging the internals of this method, but the debugger skips when it tries to call BringIndexIntoView() on the ItemsHost of ListBox, even with JustMyCode set to off. Everything leading up to this call seems to be correct - it generates container, can find index, etc. The virtual panel is not null.

I assume this method is private, but I am unsure how to debug it further. VS also can't navigate to the definition of it like other methods in the .NET WPF codebase.

Is there a way to get debugging symbols for it? I have not debugged internal .NET implementations very much.
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Invoking internal methods without reflection?
C#CC# / help
3y ago
✅ How do I run async methods? WPF
C#CC# / help
9mo ago
What are some tools or methods for debugging microservices?
C#CC# / help
2y ago
Wpf choppy UI thread performance when launched without debugging
C#CC# / help
4y ago