I'm trying to debugging a binding issue in a command. Enabled all the tracing in the options menu, added listeners on xaml and on app (like suggested here https://spin.atomicobject.com/2013/12/11/wpf-data-binding-debug/) but still there's no way to get error in the output window.
This is the XAML that is causing me problems. Added non existing binding but not able to get tracing
<Page
x:Class="EyesGuard.Views.Pages.CustomPause"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:EyesGuard.Views.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:lang="clr-namespace:EyesGuard.Localization"
xmlns:local="clr-namespace:EyesGuard.Views.Pages"
xmlns:l="clr-namespace:EyesGuard.Localization"
xmlns:diag="clr-namespace:System.Diagnostics;assembly=WindowsBase"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="{lang:LocalizedString 'EyesGuard.CustomPause.PageTitle'}"
d:DesignHeight="450"
x:Name="this"
FlowDirection="{lang:LocalizedFlowDirection}"
d:DesignWidth="550"
Background="#FF006A9F"
FontFamily="{StaticResource HastiUI.Fonts.IRANSans}"
Loaded="Page_Loaded"
mc:Ignorable="d">
<Grid>
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center">
<TextBlock
FontSize="20"
Foreground="White"
Text="{lang:LocalizedString 'EyesGuard.CustomPause.Message'}" />
<StackPanel
Grid.Row="2"
Grid.Column="2"
Margin="5"
Orientation="Horizontal">
<c:NumOnlyTextbox
MinWidth="50"
Margin="0"
MaxLength="2"
Style="{DynamicResource WhiteTextBox}"
Text="{Binding Path=HoursCustomPause}"
TextAlignment="Center" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
Foreground="White"
Text="{lang:LocalizedString 'EyesGuard.Settings.TimeSeparators.Hour'}" />
<c:NumOnlyTextbox
MinWidth="50"
Margin="5,0,0,0"
MaxLength="2"
Style="{DynamicResource WhiteTextBox}"
Text="{Binding Path=MinutesCustomPause}"
TextAlignment="Center" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
Foreground="White"
Text="{lang:LocalizedString 'EyesGuard.Settings.TimeSeparators.Minutes'}" />
<c:NumOnlyTextbox
MinWidth="50"
Margin="5,0,0,0"
MaxLength="2"
Style="{DynamicResource WhiteTextBox}"
Text="{Binding Path=SecondssCustomPause}"
TextAlignment="Center" />
<TextBlock
Margin="5,0,0,0"
VerticalAlignment="Center"
Foreground="White"
Text="{lang:LocalizedString 'EyesGuard.Settings.TimeSeparators.Second'}" />
</StackPanel>
<Button
Width="120"
Margin="0,10,0,0"
Padding="10,4"
Command="{Binding Path=PauseProtection, diag:PresentationTraceSources.TraceLevel=High}"
Content="{lang:LocalizedString 'EyesGuard.CustomPause.ButtonText'}"
Style="{DynamicResource ButtonTemplate.Green}" />
</StackPanel>
</Grid>