Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "attach debugger now" message #6452

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions src/BloomExe/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ static int Main(string[] args1)
// which for now is not supported in 5.5+.
GraphicsManager.GtkVersionInUse = GraphicsManager.GtkVersion.Gtk3;

#if DEBUG
//MessageBox.Show("Attach debugger now");
#endif
if ((Control.ModifierKeys & (Keys.Control | Keys.Alt)) == (Keys.Control | Keys.Alt))
MessageBox.Show("Attach debugger now");

// Bloom has several command line scenarios, without a coherent system for them.
// The following is how we will do things from now on, and things can be moved
// into this as time allows. See CommandLineOptions.cs.
Expand Down Expand Up @@ -311,9 +311,6 @@ static int Main(string[] args1)
{
if (IsLocalizationHarvestingLaunch(args))
LocalizationManager.IgnoreExistingEnglishTranslationFiles = true;
else
// This allows us to debug things like interpreting a URL.
MessageBox.Show("Attach debugger now");
}
var harvest = Environment.GetEnvironmentVariable("HARVEST_FOR_LOCALIZATION");
if (
Expand Down