Beispiel #1
0
        private void OpenNewSession(string filePath)
        {
            ResetTree();
            CloseExistingSession();

            try
            {
                _miniDumpFile = MiniDumpFile.OpenExisting(filePath);

                this.treeView1.Nodes[0].Text        = Path.GetFileName(filePath);
                this.treeView1.Nodes[0].ToolTipText = filePath;
                this.treeView1.SelectedNode         = treeView1.Nodes[0];

                CmdDisplayStream("Summary");
            }
            catch (Exception e)
            {
                MessageBox.Show($"An error occured while attempting to load your minidump:\r\n\r\n\"{e.Message.TrimEnd(null)}\"", "Error Loading Minidump", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }