mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-31 05:11:08 +00:00
26 lines
424 B
C#
26 lines
424 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Syslib.Diagnostics
|
|
{
|
|
|
|
/// <summary>
|
|
/// THis is calls our screen of death or a debugger if attached
|
|
/// </summary>
|
|
public class Panic :SystemException
|
|
{
|
|
|
|
|
|
|
|
static public void Invoke(string reason)
|
|
{
|
|
|
|
KernelDebugger.Break();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|