Debug info now writing to the output in Visual Studio

This commit is contained in:
Alexander 2018-12-27 00:29:00 +02:00
parent 8a8a3fbf96
commit 3941333f9f

View file

@ -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*/