mirror of
https://github.com/Crypto-Notepad/Crypto-Notepad.git
synced 2026-03-11 08:55:25 +00:00
Debug variables update
This commit is contained in:
parent
505a7caff4
commit
7c33fb4372
1 changed files with 18 additions and 17 deletions
|
|
@ -1662,24 +1662,25 @@ private void FindNextButton_Click(object sender, EventArgs e)
|
|||
/*Search Panel*/
|
||||
|
||||
|
||||
/*Debug Menu*/
|
||||
private void MainVariablesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
#region Debug Menu
|
||||
private void VariablesMainMenu_Click(object sender, EventArgs e)
|
||||
{
|
||||
#if DEBUG
|
||||
string formattedTime = DateTime.Now.ToString("yyyy.MM.dd hh:mm:ss");
|
||||
Debug.WriteLine("\nTime: " + formattedTime);
|
||||
Debug.WriteLine("PublicVar.openFileName: " + PublicVar.openFileName);
|
||||
Debug.WriteLine("filePath: " + filePath);
|
||||
Debug.WriteLine("encryptionKey: " + PublicVar.encryptionKey.Get());
|
||||
Debug.WriteLine("TypedPassword: " + TypedPassword.Value);
|
||||
Debug.WriteLine("noExit: " + noExit);
|
||||
Debug.WriteLine("keyChanged: " + PublicVar.keyChanged);
|
||||
Debug.WriteLine("settingsChanged: " + PublicVar.settingsChanged);
|
||||
Debug.WriteLine("okPressed: " + PublicVar.okPressed);
|
||||
Debug.WriteLine("RichTextBox.Modified: " + RichTextBox.Modified);
|
||||
Debug.WriteLine("EditorMenuStrip: " + EditorMenuStrip.Enabled);
|
||||
#endif
|
||||
#if DEBUG
|
||||
string formattedTime = DateTime.Now.ToString("yyyy.MM.dd hh:mm:ss");
|
||||
Debug.WriteLine("\nTime: " + formattedTime);
|
||||
Debug.WriteLine("PublicVar.openFileName: " + PublicVar.openFileName);
|
||||
Debug.WriteLine("filePath: " + filePath);
|
||||
Debug.WriteLine("encryptionKey: " + PublicVar.encryptionKey.Get());
|
||||
Debug.WriteLine("TypedPassword: " + TypedPassword.Value);
|
||||
Debug.WriteLine("preventExit: " + preventExit);
|
||||
Debug.WriteLine("keyChanged: " + PublicVar.keyChanged);
|
||||
Debug.WriteLine("okPressed: " + PublicVar.okPressed);
|
||||
Debug.WriteLine("RichTextBox.Modified: " + richTextBox.Modified);
|
||||
Debug.WriteLine("EditorMenuStrip: " + contextMenu.Enabled);
|
||||
#endif
|
||||
}
|
||||
/*Debug Menu*/
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue