Example #1
0
        private void DumpProcessInfo(string dumpPath, ProcessWrapper proc)
        {
            ClrDumpInfo mgr = new ClrDumpInfo(dumpPath);

            mgr.InitProcessInfo(proc.Process);
            mgr.Save();
        }
Example #2
0
        public FileData(FileInfo fileInfo)
        {
            FileInfo = fileInfo;
            Name     = fileInfo.Name;
            Icon     = Properties.Resources.file_extension_bin;
            var clrDumpInfo = ClrDumpInfo.Load(fileInfo.FullName);

            processInfo = clrDumpInfo.ProcessInfo;
        }
Example #3
0
        public ClrDump(DataTarget target, string dumpPath, MessageBus msgBus)
        {
            Id         = n++;
            Target     = target;
            DumpPath   = dumpPath;
            MessageBus = msgBus;
            worker     = new SingleThreadWorker(dumpPath);
            worker.Run(InitRuntime, OnError);

            ClrDumpInfo = ClrDumpInfo.Load(dumpPath);
        }