S
S
Sneiksus2019-03-12 10:30:17
.NET
Sneiksus, 2019-03-12 10:30:17

How to debug XAML?

Recommend a debugger for the Xaml code in wpf. To see, for example, what events are fired when the mouse is hovered over a button that change its color, etc.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cyber_roach, 2019-03-12
@cyber_roach

XAML is the markup language for the UI of an application. No more. There is no code execution, just a template. Static, Cannot set a breakpoint.
although XAML is the same XML, which means that any xml debugger (if any) is applicable.
WPF implies an MVVM model (XAML is the View layer in MVVM)
If you design the project architecture correctly, then only the ViewModel will have to be debugged.
And to make life easier, you can use Resharper or something similar that makes it easier to write XAML code.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question