From 31b80891e2bf0bfaba769f27de418213d0522e0e Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Wed, 13 Oct 2010 21:31:24 +0000 Subject: [PATCH] Do not exit immediately when debugging, to give a chance to examine the output. --- Source/Bind/Main.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/Bind/Main.cs b/Source/Bind/Main.cs index 6f987093..d8f5a178 100644 --- a/Source/Bind/Main.cs +++ b/Source/Bind/Main.cs @@ -186,6 +186,11 @@ namespace Bind Console.WriteLine(); Console.WriteLine("Bindings generated in {0} seconds.", ticks / (double)10000000.0); Console.WriteLine(); + if (Debugger.IsAttached) + { + Console.WriteLine("Press any key to continue..."); + Console.ReadKey(true); + } } catch (SecurityException e) {