Ejemplo n.º 1
0
        internal DebugTarget(DebugClient client, int index)
        {
            Index = index;
            client.Control.GetDebuggeeType(out DebuggeeClass, out DebuggeeClassQualifier);
            switch (DebuggeeClass)
            {
            case DEBUG_CLASS.KERNEL:
                IsKernel = true;
                break;

            case DEBUG_CLASS.IMAGE_FILE:
                IsDump = true;
                break;
            }

            switch (DebuggeeClassQualifier)
            {
            case DEBUG_CLASS_QUALIFIER.KERNEL_LOCAL:
                IsLocalKernel = true;
                break;

            case DEBUG_CLASS_QUALIFIER.KERNEL_DUMP:
                DumpType = DumpType.Kernel;
                break;

            case DEBUG_CLASS_QUALIFIER.KERNEL_SMALL_DUMP:
                DumpType = DumpType.Small;
                break;

            case DEBUG_CLASS_QUALIFIER.KERNEL_FULL_DUMP:
                DumpType = DumpType.Full;
                IsDump   = true;
                break;
            }
        }
Ejemplo n.º 2
0
 internal Breakpoint(DebugClient client, IDebugBreakpoint3 bp)
 {
     _bp     = bp;
     _client = client;
     bp.GetParameters(out _parameters);
 }