<Window x:Class="LightweightDebuggerDemo.DebugWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ldd="clr-namespace:LightweightDebuggerDemo"
Title="DebugWindow" Height="300" Width="300" Closed="Window_Closed" Loaded="Window_Loaded" Closing="Window_Closing">
<Window.CommandBindings>
<CommandBinding Command="ldd:DebugCommands.StepIn" Executed="StepInExecuted"/>
<CommandBinding Command="ldd:DebugCommands.StepOut" Executed="StepOutExecuted"/>
</Window.CommandBindings>
<Window.InputBindings>
<KeyBinding Command="ldd:DebugCommands.StepIn" Key="S"/>
<KeyBinding Command="ldd:DebugCommands.StepOut" Key="O"/>
</Window.InputBindings>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="25" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Menu>
<MenuItem Header="Step">
<MenuItem Command="ldd:DebugCommands.StepIn" InputGestureText="S"></MenuItem>
<MenuItem Command="ldd:DebugCommands.StepOver"></MenuItem>
<MenuItem Command="ldd:DebugCommands.StepOut" InputGestureText="O"></MenuItem>
</MenuItem>
<TextBlock x:Name="dbgStatus"></TextBlock>
</Menu>
<RichTextBox Grid.Row="1" Name="rtbSource" FontFamily="Consolas" FontSize="14" Background="Black" Foreground="White" IsReadOnly="True" VerticalScrollBarVisibility="Auto"></RichTextBox>
</Grid>
</Window>