• Home
  • Install
  • Cosmos Website
  • Articles
  • Cosmos
  • X#
  • IL2CPU
Show / Hide Table of Contents
  • Cosmos.Core
    • ACPI
    • ACPI.RSDPtr
    • Bootstrap
    • CPU
    • GCImplementation
    • GCTable
    • Global
    • INTs
    • INTs.EFlagsEnum
    • INTs.ExceptionInterruptDelegate
    • INTs.IRQContext
    • INTs.IRQDelegate
    • INTs.MMXContext
    • INTs.TSS
    • IOPort
    • KernelPanics
    • ManagedMemoryBlock
    • MemoryBlock
    • MemoryBlock08
    • MemoryBlock16
    • MemoryBlock32
    • MemoryMapBlock
    • MemoryOperations
    • PIC
    • PIC.Cmd
    • RawMemoryMapBlock
    • VTable
    • VTablesImpl
  • Cosmos.Core.IOGroup
    • ATA
    • PIC
    • PS2Controller
  • Cosmos.Core.Memory
    • Heap
    • HeapLarge
    • HeapMedium
    • HeapSmall
    • ObjectGCStatus
    • RAT
    • RAT.PageType
    • RootSMTBlock
    • SMTBlock
    • SMTPage
  • Cosmos.Core.MemoryGroup
    • AHCI
  • Cosmos.Core.Multiboot
    • Multiboot2
  • Cosmos.Core.Multiboot.Tags
    • AcpiNew
    • AcpiOld
    • BasicMemoryInformation
    • EFI64
    • Framebuffer
    • MB2Tag
    • MemoryMap
  • Cosmos.Core_Asm
    • ArrayClearAsm
    • ArrayGetLengthAsm
    • ArrayImpl
    • ArrayInternalCopyAsm
    • BufferBlockCopyAsm
    • BufferImpl
    • CPUCanReadCPUIDAsm
    • CPUDisableINTsAsm
    • CPUEnableINTsAsm
    • CPUGetEBPValue
    • CPUGetEndOfKernelAsm
    • CPUGetESPValue
    • CPUGetStackStart
    • CPUHaltAsm
    • CPUImpl
    • CPUInitFloatAsm
    • CPUInitSSEAsm
    • CPUReadCPUIDAsm
    • CPUReadModelSpecificRegisterAsm
    • CPUReadTimestampCounterAsm
    • CPUSetESPValue
    • CPUUpdateIDTAsm
    • CPUZeroFillAsm
    • DelegateCtorAsm
    • DelegateGetMulticastInvokeAsm
    • DelegateImpl
    • DelegateInvokeAsm
    • GCImplementationImpl
    • IOPortImpl
    • Multiboot2Impl
    • Multiboot2ImplAsm
    • RuntimeHelpersImpl
  • Cosmos.Core_Asm.MemoryOperations
    • MemoryOperationsCopy128BlocksAsm
    • MemoryOperationsCopy128BytesAsm
    • MemoryOperationsCopy16BytesAsm
    • MemoryOperationsCopy32BytesAsm
    • MemoryOperationsCopy64BytesAsm
    • MemoryOperationsFill16BlocksAsm
  • Cosmos.Debug.Kernel
    • Debugger
    • DebuggerFactory
  • Cosmos.HAL
    • BaudRate
    • Bootstrap
    • CardType
    • ClassID
    • COMPort
    • DataReceivedHandler
    • Device
    • DeviceID
    • Global
    • KeyboardBase
    • KeyboardBase.KeyPressedEventHandler
    • MouseBase
    • MouseBase.MouseChangedEventHandler
    • NetworkDevice
    • PCI
    • PCIBaseAddressBar
    • PCIDevice
    • PCIDevice.Config
    • PCIDevice.DeviceClass
    • PCIDevice.PCIBist
    • PCIDevice.PCICommand
    • PCIDevice.PCIHeaderType
    • PCIDevice.PCIInterruptPIN
    • PCIDeviceBridge
    • PCIDeviceCardbus
    • PCIDeviceNormal
    • PCSpeaker
    • PIT
    • PIT.PITTimer
    • PIT.PITTimer.OnTrigger
    • Power
    • ProgramIF
    • PS2Controller
    • PS2Keyboard
    • PS2Mouse
    • RTC
    • SerialPort
    • SpeakerExtensions
    • SubclassID
    • TextScreen
    • TextScreenBase
    • TextScreenHelpers
    • VendorID
  • Cosmos.HAL.Audio
    • AudioBitDepth
    • AudioBuffer
    • IAudioBufferProvider
    • SampleFormat
  • Cosmos.HAL.BlockDevice
    • AHCI
    • Ata
    • Ata.BusPositionEnum
    • Ata.ControllerIdEnum
    • ATA_PIO
    • ATA_PIO.Cmd
    • ATA_PIO.DvcSelVal
    • ATA_PIO.Ident
    • ATA_PIO.SpecLevel
    • ATA_PIO.Status
    • ATAPI
    • ATAPI.PacketCommands
    • BlockDevice
    • BlockDeviceType
    • EBR
    • EBR.PartInfo
    • GPT
    • GPT.GPartInfo
    • IDE
    • MBR
    • MBR.PartInfo
    • Partition
  • Cosmos.HAL.BlockDevice.Ports
    • SATA
    • SATAPI
    • StoragePort
  • Cosmos.HAL.BlockDevice.Registers
    • AHCISignature
    • ATACommands
    • ATADeviceStatus
    • Base
    • Bases
    • CommandAndStatus
    • CurrentInterfaceSpeedStatus
    • DeviceDetectionStatus
    • FISRegisterD2H
    • FISRegisterH2D
    • FISSize
    • FISType
    • GenericRegisters
    • HBACommandHeader
    • HBACommandTable
    • HBAPRDTEntry
    • InterfacePowerManagementStatus
    • InterruptEnable
    • InterruptStatus
    • PortRegisters
    • PortType
  • Cosmos.HAL.Drivers.Audio
    • AC97
    • AudioDriver
  • Cosmos.HAL.Drivers.Network
    • AMDPCNetII
    • E1000
    • E1000.RXDesc
    • E1000.TXDesc
    • E1000DeviceID
    • RTL8139
  • Cosmos.HAL.Drivers.USB
    • USBHost
  • Cosmos.HAL.Drivers.Video
    • VBEDriver
    • VGADriver
    • VGADriver.ColorDepth
    • VGADriver.ScreenSize
    • VGADriver.TextSize
  • Cosmos.HAL.Drivers.Video.SVGAII
    • Capability
    • FIFO
    • FIFOCommand
    • ID
    • IOPortOffset
    • Register
    • VMWareSVGAII
  • Cosmos.HAL.Network
    • MACAddress
    • NetworkInit
  • Cosmos.System
    • Console
    • ConsoleKeyEx
    • ConsoleKeyExExtensions
    • Durations
    • Global
    • Kernel
    • KeyboardManager
    • KeyEvent
    • KeyEvent.KeyEventType
    • KeyMapping
    • MouseManager
    • MouseState
    • Notes
    • PCSExtensions
    • PCSpeaker
    • Power
    • ScanMapBase
    • VMTools
  • Cosmos.System.Audio
    • AudioManager
    • AudioMixer
    • AudioStream
  • Cosmos.System.Audio.DSP.Processing
    • AudioPostProcessor
    • GainPostProcessor
  • Cosmos.System.Audio.IO
    • AudioBufferReader
    • AudioBufferReadWriteBase
    • AudioBufferWriter
    • MemoryAudioStream
    • SeekableAudioStream
  • Cosmos.System.ExtendedASCII
    • CosmosEncodingProvider
  • Cosmos.System.FileSystem
    • CosmosVFS
    • Disk
    • FileSystem
    • FileSystemFactory
    • ManagedPartition
  • Cosmos.System.FileSystem.FAT
    • FatFileSystemFactory
  • Cosmos.System.FileSystem.FAT.Listing
    • FatDirectoryEntryAttributeConsts
    • FatDirectoryEntryMetadata
    • FatDirectoryEntryMetadata.LongFilenameEntryMetadata
  • Cosmos.System.FileSystem.ISO9660
    • ISO9660FileSystem
    • ISO9660FileSystemFactory
  • Cosmos.System.FileSystem.Listing
    • DirectoryEntry
    • DirectoryEntryTypeEnum
  • Cosmos.System.FileSystem.VFS
    • FileSystemManager
    • VFSBase
    • VFSManager
  • Cosmos.System.Graphics
    • Bitmap
    • Canvas
    • ColorDepth
    • ColorOrder
    • FullScreenCanvas
    • Image
    • ImageFormat
    • Mode
    • SVGAIICanvas
    • VBECanvas
    • VGACanvas
    • VGAScreen
  • Cosmos.System.Graphics.Fonts
    • Font
    • PCScreenFont
    • UnicodeMapping
  • Cosmos.System.Helpers
    • ArrayHelper
  • Cosmos.System.IO
    • ConsoleStream
    • SyncTextReader
  • Cosmos.System.Keyboard
    • KeyEventHelper
  • Cosmos.System.Network
    • EthernetPacket
    • NetworkDebugger
    • NetworkStack
  • Cosmos.System.Network.ARP
    • ARPPacket
  • Cosmos.System.Network.Config
    • DNSConfig
    • IPConfig
    • NetworkConfig
    • NetworkConfiguration
  • Cosmos.System.Network.IPv4
    • Address
    • EndPoint
    • ICMPClient
    • ICMPPacket
    • IPPacket
    • OutgoingBuffer
  • Cosmos.System.Network.IPv4.TCP
    • Flags
    • Status
    • Tcp
    • TCPOption
    • TCPPacket
    • TransmissionControlBlock
  • Cosmos.System.Network.IPv4.UDP
    • UdpClient
    • UDPPacket
  • Cosmos.System.Network.IPv4.UDP.DHCP
    • DHCPClient
    • DHCPOption
    • DHCPPacket
  • Cosmos.System.Network.IPv4.UDP.DNS
    • DNSAnswer
    • DnsClient
    • DNSPacket
    • DNSPacketAnswer
    • DNSPacketAsk
    • DNSQuery
    • ReplyCode
  • Cosmos.System.ScanMaps
    • DEStandardLayout
    • ESStandardLayout
    • FRStandardLayout
    • GBStandardLayout
    • TRStandardLayout
    • US_Dvorak
    • USStandardLayout

Class Debugger

Represents a categorized remote debugger, capable of communicating with an external host machine, including virtualizers.

Inheritance
System.Object
Debugger
Namespace: Cosmos.Debug.Kernel
Assembly: Cosmos.Debug.Kernel.dll
Syntax
public class Debugger : object

Constructors

| Improve this Doc View Source

Debugger(String)

Creates a new instance of the Debugger class.

Declaration
public Debugger(string section)
Parameters
Type Name Description
System.String section

The section the debugger refers to.

Properties

| Improve this Doc View Source

Section

The section the debugger refers to.

Declaration
public string Section { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

Break()

Triggers a software breakpoint.

Declaration
public void Break()
| Improve this Doc View Source

DoBochsBreak()

Triggers a Bochs breakpoint.

Declaration
public static void DoBochsBreak()
| Improve this Doc View Source

DoSendNumber(Double)

Sends a 64-bit floating-point number to connected debugging hosts.

Declaration
public static void DoSendNumber(double number)
Parameters
Type Name Description
System.Double number
| Improve this Doc View Source

DoSendNumber(Int32)

Sends a 32-bit signed integer to connected debugging hosts.

Declaration
public static void DoSendNumber(int number)
Parameters
Type Name Description
System.Int32 number
| Improve this Doc View Source

DoSendNumber(Int64)

Sends a 64-bit signed integer to connected debugging hosts.

Declaration
public static void DoSendNumber(long number)
Parameters
Type Name Description
System.Int64 number
| Improve this Doc View Source

DoSendNumber(Single)

Sends a 32-bit floating-point number to connected debugging hosts.

Declaration
public static void DoSendNumber(float number)
Parameters
Type Name Description
System.Single number
| Improve this Doc View Source

DoSendNumber(UInt32)

Sends a 32-bit unsigned integer to connected debugging hosts.

Declaration
public static void DoSendNumber(uint number)
Parameters
Type Name Description
System.UInt32 number
| Improve this Doc View Source

DoSendNumber(UInt64)

Sends a 64-bit unsigned integer to connected debugging hosts.

Declaration
public static void DoSendNumber(ulong number)
Parameters
Type Name Description
System.UInt64 number
| Improve this Doc View Source

Send(String)

Sends the given string to connected debugging hosts.

Declaration
public void Send(string text)
Parameters
Type Name Description
System.String text

The text/message to send.

| Improve this Doc View Source

Send(String[])

Sends multiple strings to connected debugging hosts.

Declaration
public void Send(string[] stringArray)
Parameters
Type Name Description
System.String[] stringArray

The strings to send.

| Improve this Doc View Source

SendChannelCommand(Byte, Byte)

Sends a command to the given debug channel.

Declaration
public static void SendChannelCommand(byte channel, byte command)
Parameters
Type Name Description
System.Byte channel

The channel to send the data to.

System.Byte command

The numeric command.

| Improve this Doc View Source

SendChannelCommand(Byte, Byte, Byte[])

Declaration
public void SendChannelCommand(byte aChannel, byte aCommand, byte[] aData)
Parameters
Type Name Description
System.Byte aChannel
System.Byte aCommand
System.Byte[] aData
| Improve this Doc View Source

SendChannelCommand(Byte, Byte, Int32, Byte*)

Sends a command and its associated data to the given debug channel.

Declaration
public static void SendChannelCommand(byte channel, byte command, int byteCount, byte *data)
Parameters
Type Name Description
System.Byte channel

The channel to send the data to.

System.Byte command

The numeric command.

System.Int32 byteCount

The amount of bytes in the data associated with the command.

System.Byte* data

The data associated with the command

| Improve this Doc View Source

SendInternal(Double)

Sends the given 64-bit floating-point number to all connected debugging hosts.

Declaration
public virtual void SendInternal(double number)
Parameters
Type Name Description
System.Double number
| Improve this Doc View Source

SendInternal(Int32)

Sends the given 32-bit signed integer to all connected debugging hosts.

Declaration
public virtual void SendInternal(int number)
Parameters
Type Name Description
System.Int32 number
| Improve this Doc View Source

SendInternal(Int64)

Sends the given 64-bit signed integer to all connected debugging hosts.

Declaration
public virtual void SendInternal(long number)
Parameters
Type Name Description
System.Int64 number
| Improve this Doc View Source

SendInternal(Single)

Sends the given 32-bit floating-point number to all connected debugging hosts.

Declaration
public virtual void SendInternal(float number)
Parameters
Type Name Description
System.Single number
| Improve this Doc View Source

SendInternal(String)

Sends the given message to all connected debugging hosts.

Declaration
public virtual void SendInternal(string text)
Parameters
Type Name Description
System.String text
| Improve this Doc View Source

SendInternal(String[])

Sends the given strings to all connected debugging hosts.

Declaration
public virtual void SendInternal(string[] stringArray)
Parameters
Type Name Description
System.String[] stringArray
| Improve this Doc View Source

SendInternal(UInt32)

Sends the given 32-bit unsigned integer to all connected debugging hosts.

Declaration
public virtual void SendInternal(uint number)
Parameters
Type Name Description
System.UInt32 number
| Improve this Doc View Source

SendInternal(UInt64)

Sends the given 64-bit unsigned integer to all connected debugging hosts.

Declaration
public virtual void SendInternal(ulong number)
Parameters
Type Name Description
System.UInt64 number
| Improve this Doc View Source

SendKernelPanic(UInt32)

Sends a kernel panic error code to connected debugging hosts.

Declaration
public static void SendKernelPanic(uint id)
Parameters
Type Name Description
System.UInt32 id
| Improve this Doc View Source

SendMessageBox(Int32, Char*)

Displays a message box on connected debugging hosts.

Declaration
public void SendMessageBox(int length, char *text)
Parameters
Type Name Description
System.Int32 length

The length of the text C-string.

System.Char* text

The text to display in the message box, as a C-string.

| Improve this Doc View Source

SendMessageBox(String)

Displays a message box on connected debugging hosts.

Declaration
public void SendMessageBox(string text)
Parameters
Type Name Description
System.String text

The text to display.

| Improve this Doc View Source

SendNumber(Double)

Sends a 64-bit floating-point number to connected debugging hosts.

Declaration
public void SendNumber(double number)
Parameters
Type Name Description
System.Double number
| Improve this Doc View Source

SendNumber(Int32)

Sends a 32-bit signed integer to connected debugging hosts.

Declaration
public void SendNumber(int number)
Parameters
Type Name Description
System.Int32 number
| Improve this Doc View Source

SendNumber(Int64)

Sends a 64-bit signed integer to connected debugging hosts.

Declaration
public void SendNumber(long number)
Parameters
Type Name Description
System.Int64 number
| Improve this Doc View Source

SendNumber(Single)

Sends a 32-bit floating-point number to connected debugging hosts.

Declaration
public void SendNumber(float number)
Parameters
Type Name Description
System.Single number
| Improve this Doc View Source

SendNumber(UInt32)

Sends a 32-bit unsigned integer to connected debugging hosts.

Declaration
public void SendNumber(uint number)
Parameters
Type Name Description
System.UInt32 number
| Improve this Doc View Source

SendNumber(UInt64)

Sends a 64-bit unsigned integer to connected debugging hosts.

Declaration
public void SendNumber(ulong number)
Parameters
Type Name Description
System.UInt64 number
| Improve this Doc View Source

SendPtr(Object)

Sends the pointer of the given object to any connected debugging hosts.

Declaration
public void SendPtr(object obj)
Parameters
Type Name Description
System.Object obj
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
☀
☾