From 3941333f9fe8bfcf76e7533150dc14aab19287ba Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 27 Dec 2018 00:29:00 +0200 Subject: [PATCH] Debug info now writing to the output in Visual Studio --- Crypto Notepad/MainForm.cs | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Crypto Notepad/MainForm.cs b/Crypto Notepad/MainForm.cs index 31c6fb5..e05e8cd 100644 --- a/Crypto Notepad/MainForm.cs +++ b/Crypto Notepad/MainForm.cs @@ -1378,15 +1378,18 @@ private void ChkMatchWholeWord_CheckedChanged(object sender, EventArgs e) /*Debug Menu*/ - private void VariablesToolStripMenuItem_Click(object sender, EventArgs e) + private void MainVariablesToolStripMenuItem_Click(object sender, EventArgs e) { - int count = CustomRTB.TextLength; - - MessageBox.Show("words count: " + count + - "\ncurrentFilename: " + currentFilename + - "\nencryptionKey: " + PublicVar.encryptionKey.Get() + - "\nTypedPassword: " + TypedPassword.Value + - "\nfilePath: " + filePath, "DEBUG"); + Debug.WriteLine("\ncurrentFilename: " + currentFilename); + Debug.WriteLine("encryptionKey: " + PublicVar.encryptionKey.Get()); + Debug.WriteLine("TypedPassword: " + TypedPassword.Value); + Debug.WriteLine("filePath: " + filePath); + Debug.WriteLine("cancelPressed: " + cancelPressed); + Debug.WriteLine("noExit: " + noExit); + Debug.WriteLine("keyChanged: " + PublicVar.keyChanged); + Debug.WriteLine("settingsChanged: " + PublicVar.settingsChanged); + Debug.WriteLine("okPressed: " + PublicVar.okPressed); + Debug.WriteLine("CustomRTB.Modified: " + CustomRTB.Modified); } /*Debug Menu*/