How to step in to WPF codes while visual studio debugging?

Vishnu Gopalakrishnan 126 Reputation points
2021-10-22T18:16:39.423+00:00

I would like to debug in to System.Windows.UIElement.Visibility.set.
But while debugging, got the error as - Step into: Stepping over method without symbols 'System.Windows.UIElement.Visibility.set'.
I have confirmed that the PresentationCore.dll pdb(symbol) is loaded from the module window.
Also, ensured this https://referencesource.microsoft.com/setup.html

Please help to step in to WPF codes.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,665 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,190 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
934 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 81,446 Reputation points
    2021-10-23T17:31:06.147+00:00

    You can download the source code at wpf

    The Visibility is at : UIElement.cs


  2. Karen Payne MVP 35,026 Reputation points
    2021-10-23T20:00:23.543+00:00

    Here is an option, get Jet-Brain's dotPeek (free)

    Use dotPeek as a symbol server

    0 comments No comments