public DebugCoreCLRVM CopyTo(DebugCoreCLRVM other) { other.DbgShimFilename = DbgShimFilename; other.HostFilename = HostFilename; other.HostCommandLine = HostCommandLine; other.Filename = Filename; other.CommandLine = CommandLine; other.CurrentDirectory = CurrentDirectory; other.BreakProcessKind = BreakProcessKind; return(other); }
public DebugCoreCLRVM CopyTo(DebugCoreCLRVM other) { other.DbgShimFilename = this.DbgShimFilename; other.HostFilename = this.HostFilename; other.HostCommandLine = this.HostCommandLine; other.Filename = this.Filename; other.CommandLine = this.CommandLine; other.CurrentDirectory = this.CurrentDirectory; other.BreakProcessType = this.BreakProcessType; return(other); }
DebugCoreCLRVM CreateDebugCoreCLRVM(LoadedAssembly asm = null) { // Re-use the previous one if it's the same file if (lastDebugCoreCLRVM != null && asm != null) { if (StringComparer.OrdinalIgnoreCase.Equals(lastDebugCoreCLRVM.Filename, asm.FileName)) return lastDebugCoreCLRVM.Clone(); } var vm = new DebugCoreCLRVM(); if (asm != null) vm.Filename = asm.FileName; vm.DbgShimFilename = DebuggerSettings.Instance.CoreCLRDbgShimFilename; vm.BreakProcessType = DebuggerSettings.Instance.BreakProcessType; return vm; }
DebugProcessOptions GetDebugAssemblyOptions(DebugCoreCLRVM vm, bool askUser = true) { if (askUser) { var win = new DebugCoreCLRDlg(); win.DataContext = vm; win.Owner = MainWindow.Instance; if (win.ShowDialog() != true) return null; } var opts = new DebugProcessOptions(new CoreCLRTypeDebugInfo(vm.DbgShimFilename, vm.HostFilename, vm.HostCommandLine)); opts.DebugMessageDispatcher = WpfDebugMessageDispatcher.Instance; opts.CurrentDirectory = vm.CurrentDirectory; opts.Filename = vm.Filename; opts.CommandLine = vm.CommandLine; opts.BreakProcessType = vm.BreakProcessType; lastDebugCoreCLRVM = vm; return opts; }
public DebugCoreCLRVM CopyTo(DebugCoreCLRVM other) { other.DbgShimFilename = this.DbgShimFilename; other.HostFilename = this.HostFilename; other.HostCommandLine = this.HostCommandLine; other.Filename = this.Filename; other.CommandLine = this.CommandLine; other.CurrentDirectory = this.CurrentDirectory; other.BreakProcessType = this.BreakProcessType; return other; }
DebugCoreCLRVM CreateDebugCoreCLRVM(IDsDocument asm = null) { // Re-use the previous one if it's the same file if (lastDebugCoreCLRVM != null && asm != null) { if (StringComparer.OrdinalIgnoreCase.Equals(lastDebugCoreCLRVM.Filename, asm.Filename)) return lastDebugCoreCLRVM.Clone(); } var vm = new DebugCoreCLRVM(); if (asm != null) vm.Filename = asm.Filename; vm.DbgShimFilename = DebuggerSettings.CoreCLRDbgShimFilename; vm.BreakProcessKind = DebuggerSettings.BreakProcessKind; return vm; }
public DebugCoreCLRVM CopyTo(DebugCoreCLRVM other) { other.DbgShimFilename = DbgShimFilename; other.HostFilename = HostFilename; other.HostCommandLine = HostCommandLine; other.Filename = Filename; other.CommandLine = CommandLine; other.CurrentDirectory = CurrentDirectory; other.BreakProcessKind = BreakProcessKind; return other; }