Exemple #1
0
 public override bool IsEnabled(CallStackCtxMenuContext context) => context.SelectedItems.Length > 0;
Exemple #2
0
 protected override void Initialize(CallStackCtxMenuContext context, MenuItem menuItem)
 {
     menuItem.IsChecked = DebuggerSettings.Instance.UseHexadecimal;
 }
Exemple #3
0
 protected override void Initialize(CallStackCtxMenuContext context, MenuItem menuItem)
 {
     menuItem.IsChecked = CallStackSettings.Instance.ShowIP;
 }
Exemple #4
0
 protected override bool IsEnabled(CallStackCtxMenuContext context)
 {
     return(GetFrame(context) != null);
 }
Exemple #5
0
        protected override bool IsEnabled(CallStackCtxMenuContext context)
        {
            var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context);

            return(vm != null && DebugManager.Instance.CanRunTo(vm.Frame));
        }
Exemple #6
0
 public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowTokens;
Exemple #7
0
 protected override bool IsEnabled(CallStackCtxMenuContext context)
 {
     return(CallStackControlCreator.CallStackControlInstance.listView.Items.Count > 0);
 }
Exemple #8
0
 public override bool IsEnabled(CallStackCtxMenuContext context) =>
 debugService.Value.CanRunTo(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
Exemple #9
0
 public override void Execute(CallStackCtxMenuContext context) => debuggerSettings.UseHexadecimal = !debuggerSettings.UseHexadecimal;
Exemple #10
0
 public override bool IsEnabled(CallStackCtxMenuContext context) => SwitchToFrameCallStackCtxMenuCommand.GetFrame(context) != null;
Exemple #11
0
 public override bool IsEnabled(CallStackCtxMenuContext context) =>
 FrameUtils.CanGoToDisasm(SwitchToFrameCallStackCtxMenuCommand.GetFrame(context)?.Frame);
Exemple #12
0
 public override void Execute(CallStackCtxMenuContext context) =>
 SwitchToFrameCallStackCtxMenuCommand.Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, SwitchToFrameCallStackCtxMenuCommand.GetFrame(context), true);
Exemple #13
0
 public override bool IsEnabled(CallStackCtxMenuContext context) => GetFrame(context) != null;
Exemple #14
0
 public override void Execute(CallStackCtxMenuContext context) =>
 Execute(moduleIdProvider, stackFrameService.Value, documentTabService, moduleLoader.Value, GetFrame(context), false);
Exemple #15
0
 public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowTypeKeywords = !callStackSettings.ShowTypeKeywords;
Exemple #16
0
 public override bool IsChecked(CallStackCtxMenuContext context) => debuggerSettings.UseHexadecimal;
Exemple #17
0
 public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowTokens = !callStackSettings.ShowTokens;
Exemple #18
0
 public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowParameterValues = !callStackSettings.ShowParameterValues;
Exemple #19
0
 protected override void Execute(CallStackCtxMenuContext context)
 {
     CallStackControlCreator.CallStackControlInstance.listView.SelectAll();
 }
Exemple #20
0
 public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowParameterValues;
Exemple #21
0
 protected override void Execute(CallStackCtxMenuContext context)
 {
     Execute(GetFrame(context), false);
 }
Exemple #22
0
 public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowNamespaces = !callStackSettings.ShowNamespaces;
Exemple #23
0
        protected override bool IsEnabled(CallStackCtxMenuContext context)
        {
            var vm = SwitchToFrameCallStackCtxMenuCommand.GetFrame(context);

            return(vm != null && FrameUtils.CanGoToDisasm(vm.Frame));
        }
Exemple #24
0
 public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowNamespaces;
Exemple #25
0
 protected override void Execute(CallStackCtxMenuContext context)
 {
     DebuggerSettings.Instance.UseHexadecimal = !DebuggerSettings.Instance.UseHexadecimal;
 }
Exemple #26
0
 public override void Execute(CallStackCtxMenuContext context) => callStackSettings.ShowReturnTypes = !callStackSettings.ShowReturnTypes;
Exemple #27
0
 protected override void Execute(CallStackCtxMenuContext context)
 {
     CallStackSettings.Instance.ShowParameterValues = !CallStackSettings.Instance.ShowParameterValues;
 }
Exemple #28
0
 public override bool IsChecked(CallStackCtxMenuContext context) => callStackSettings.ShowReturnTypes;
Exemple #29
0
 protected override void Execute(CallStackCtxMenuContext context)
 {
     CallStackSettings.Instance.ShowOwnerTypes = !CallStackSettings.Instance.ShowOwnerTypes;
 }
Exemple #30
0
 public override void Execute(CallStackCtxMenuContext context)
 {
     callStackContent.Value.ListView.SelectAll();
 }