Created
February 12, 2015 22:53
-
-
Save tany3/a26011ad713e4f9c2c7d to your computer and use it in GitHub Desktop.
C# デバッガを起動する
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace DebuggerTest | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
#if DEBUG | |
//デバッガを起動 | |
System.Diagnostics.Debugger.Launch(); | |
#endif | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment