Browse Source
Added debugger test: DebuggeeKilled git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1062 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61shortcuts
6 changed files with 47 additions and 3 deletions
@ -0,0 +1,21 @@ |
|||||||
|
// <file>
|
||||||
|
// <copyright see="prj:///doc/copyright.txt"/>
|
||||||
|
// <license see="prj:///doc/license.txt"/>
|
||||||
|
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/>
|
||||||
|
// <version>$Revision$</version>
|
||||||
|
// </file>
|
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace Debugger.Tests.TestPrograms |
||||||
|
{ |
||||||
|
public class DebuggeeKilled |
||||||
|
{ |
||||||
|
public static void Main() |
||||||
|
{ |
||||||
|
int id = System.Diagnostics.Process.GetCurrentProcess().Id; |
||||||
|
System.Diagnostics.Debug.WriteLine(id.ToString()); |
||||||
|
System.Diagnostics.Debugger.Break(); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue