Example #1
0
        public bool StartCoreCLR(string filename, string cmdLine, string cwd, BreakProcessKind breakKind, string hostFilename, string hostCommandLine)
        {
            var options = new CoreCLRDebugOptions();

            options.Options.Filename         = filename;
            options.Options.CommandLine      = cmdLine;
            options.Options.CurrentDirectory = cwd;
            options.Options.BreakProcessKind = breakKind;
            options.HostFilename             = hostFilename;
            options.HostCommandLine          = hostCommandLine;
            return(StartCoreCLR(options));
        }
Example #2
0
 public bool StartCoreCLR(CoreCLRDebugOptions options) =>
 dispatcher.UI(() => debugService.Value.DebugAssembly(Utils.Convert(options.Options, debugService.Value.DebuggerSettings, new DBG.CoreCLRTypeDebugInfo(options.DbgShimFilename ?? debugService.Value.DebuggerSettings.CoreCLRDbgShimFilename, options.HostFilename, options.HostCommandLine))));