using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace System.Diagnostics
{
/// Enables communication with a debugger. This class cannot be inherited.
/// 1
// Token: 0x0200015C RID: 348
[ComVisible(true)]
[MonoTODO("The Debugger class is not functional")]
public sealed class Debugger
{
/// Gets a value that indicates whether a debugger is attached to the process.
/// true if a debugger is attached; otherwise, false.
/// 1
// Token: 0x170002EB RID: 747
// (get) Token: 0x0600112F RID: 4399 RVA: 0x00045024 File Offset: 0x00043224
public static bool IsAttached
{
get
{
return Debugger.IsAttached_internal();
}
}
// Token: 0x06001130 RID: 4400
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern bool IsAttached_internal();
/// Signals a breakpoint to an attached debugger.
/// The is not set to break into the debugger.
/// 1
///
///
///
// Token: 0x06001131 RID: 4401 RVA: 0x0004502C File Offset: 0x0004322C
public static void Break()
{
}
/// Checks to see if logging is enabled by an attached debugger.
/// true if a debugger is attached and logging is enabled; otherwise, false. The attached debugger is the registered managed debugger in the DbgManagedDebugger registry key. For more information on this key, see Enabling JIT-attach Debugging.
/// 1
// Token: 0x06001132 RID: 4402 RVA: 0x00045030 File Offset: 0x00043230
public static bool IsLogging()
{
return false;
}
/// Launches and attaches a debugger to the process.
/// true if the startup is successful or if the debugger is already attached; otherwise, false.
/// The is not set to start the debugger.
/// 1
///
///
///
// Token: 0x06001133 RID: 4403 RVA: 0x00045034 File Offset: 0x00043234
[MonoTODO("Not implemented")]
public static bool Launch()
{
throw new NotImplementedException();
}
/// Posts a message for the attached debugger.
/// A description of the importance of the message.
/// The category of the message.
/// The message to show.
/// 1
// Token: 0x06001134 RID: 4404 RVA: 0x0004503C File Offset: 0x0004323C
public static void Log(int level, string category, string message)
{
}
/// Represents the default category of message with a constant.
/// 1
// Token: 0x04000441 RID: 1089
public static readonly string DefaultCategory = string.Empty;
}
}