C# Class Lettuce.Debugger

Inheritance: System.Windows.Forms.Form
Mostra file Open project: SirCmpwn/Tomato Class Usage Examples

Public Properties

Property Type Description
DeviceControllers List
KnownCode string>.Dictionary
KnownLabels string>.Dictionary

Private Properties

Property Type Description
Clearlisting void
CpuOnInvalidInstruction void
Debugger_KeyDown void
Debugger_Resize void
DisableAll void
EnableAll void
FixKeyConfig void
InitializeComponent void
OnDeviceInterrupt void
UpdateWatches void
addWatchButton_Click void
breakOnInvalidInstructionToolStripMenuItem_Click void
buttonEditDevice_Click void
buttonStepInto_Click void
buttonStepOver_Click void
checkBoxBreakOnInterrupt_CheckedChanged void
checkBoxInterruptQueue_CheckedChanged void
checkBoxOnFire_CheckedChanged void
checkBoxRunning_CheckedChanged void
customToolStripMenuItem_Click void
defineValueToolStripMenuItem_Click void
gotoAddressToolStripMenuItem_Click void
keyboardToolStripMenuItem_Click void
listBoxConnectedDevices_MouseDoubleClick void
listBoxConnectedDevices_SelectedIndexChanged void
loadListingToolStripMenuItem_Click void
loadToolStripMenuItem_Click void
propertyGrid1_PropertyValueChanged void
reloadToolStripMenuItem_Click void
removeWatchToolStripMenuItem_Click void
resetToolStripMenuItem1_Click void
resetToolStripMenuItem_Click void
textBoxRegisterA_TextChanged void
textBoxRegisterB_TextChanged void
textBoxRegisterC_TextChanged void
textBoxRegisterEX_TextChanged void
textBoxRegisterIA_TextChanged void
textBoxRegisterI_TextChanged void
textBoxRegisterJ_TextChanged void
textBoxRegisterPC_TextChanged void
textBoxRegisterSP_TextChanged void
textBoxRegisterX_KeyDown void
textBoxRegisterX_TextChanged void
textBoxRegisterY_TextChanged void
textBoxRegisterZ_TextChanged void
toolStripMenuItem2_Click void
toolStripMenuItem3_Click void
toolStripMenuItem4_Click void
toolStripMenuItem5_Click void
watchTextBox_KeyUp void
watchesContextMenuStrip_Opening void

Public Methods

Method Description
CPU_BreakpointHit ( object sender, Tomato.BreakpointEventArgs e ) : void
Debugger ( Tomato.DCPU &CPU ) : System
GetHexString ( uint value, int numDigits ) : string
InvalidInstruction ( Tomato.InvalidInstructionEventArgs eventArgs ) : void
LoadOrganicListing ( string file ) : void
ResetLayout ( ) : void
SetUIWarning ( string text ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Clearlisting ( ) : void
CpuOnInvalidInstruction ( object sender, Tomato.InvalidInstructionEventArgs invalidInstructionEventArgs ) : void
Debugger_KeyDown ( object sender, KeyEventArgs e ) : void
Debugger_Resize ( object sender, EventArgs e ) : void
DisableAll ( ) : void
EnableAll ( ) : void
FixKeyConfig ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnDeviceInterrupt ( object sender, EventArgs eventArgs ) : void
UpdateWatches ( ) : void
addWatchButton_Click ( object sender, EventArgs e ) : void
breakOnInvalidInstructionToolStripMenuItem_Click ( object sender, EventArgs e ) : void
buttonEditDevice_Click ( object sender, EventArgs e ) : void
buttonStepInto_Click ( object sender, EventArgs e ) : void
buttonStepOver_Click ( object sender, EventArgs e ) : void
checkBoxBreakOnInterrupt_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxInterruptQueue_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxOnFire_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxRunning_CheckedChanged ( object sender, EventArgs e ) : void
customToolStripMenuItem_Click ( object sender, EventArgs e ) : void
defineValueToolStripMenuItem_Click ( object sender, EventArgs e ) : void
gotoAddressToolStripMenuItem_Click ( object sender, EventArgs e ) : void
keyboardToolStripMenuItem_Click ( object sender, EventArgs e ) : void
listBoxConnectedDevices_MouseDoubleClick ( object sender, EventArgs e ) : void
listBoxConnectedDevices_SelectedIndexChanged ( object sender, EventArgs e ) : void
loadListingToolStripMenuItem_Click ( object sender, EventArgs e ) : void
loadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
propertyGrid1_PropertyValueChanged ( object s, System.Windows.Forms.PropertyValueChangedEventArgs e ) : void
reloadToolStripMenuItem_Click ( object sender, EventArgs e ) : void
removeWatchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resetToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
resetToolStripMenuItem_Click ( object sender, EventArgs e ) : void
textBoxRegisterA_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterB_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterC_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterEX_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterIA_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterI_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterJ_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterPC_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterSP_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterX_KeyDown ( object sender, KeyEventArgs e ) : void
textBoxRegisterX_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterY_TextChanged ( object sender, EventArgs e ) : void
textBoxRegisterZ_TextChanged ( object sender, EventArgs e ) : void
toolStripMenuItem2_Click ( object sender, EventArgs e ) : void
toolStripMenuItem3_Click ( object sender, EventArgs e ) : void
toolStripMenuItem4_Click ( object sender, EventArgs e ) : void
toolStripMenuItem5_Click ( object sender, EventArgs e ) : void
watchTextBox_KeyUp ( object sender, KeyEventArgs e ) : void
watchesContextMenuStrip_Opening ( object sender, CancelEventArgs e ) : void

Method Details

CPU_BreakpointHit() public method

public CPU_BreakpointHit ( object sender, Tomato.BreakpointEventArgs e ) : void
sender object
e Tomato.BreakpointEventArgs
return void

Debugger() public method

public Debugger ( Tomato.DCPU &CPU ) : System
CPU Tomato.DCPU
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetHexString() public static method

public static GetHexString ( uint value, int numDigits ) : string
value uint
numDigits int
return string

InvalidInstruction() public method

public InvalidInstruction ( Tomato.InvalidInstructionEventArgs eventArgs ) : void
eventArgs Tomato.InvalidInstructionEventArgs
return void

LoadOrganicListing() public static method

public static LoadOrganicListing ( string file ) : void
file string
return void

ResetLayout() public method

public ResetLayout ( ) : void
return void

SetUIWarning() public method

public SetUIWarning ( string text ) : void
text string
return void

Property Details

DeviceControllers public_oe property

public List DeviceControllers
return List

KnownCode public_oe static_oe property

public static Dictionary KnownCode
return string>.Dictionary

KnownLabels public_oe static_oe property

public static Dictionary KnownLabels
return string>.Dictionary