Documentation
¶
Overview ¶
Package yield records the current yielded state of a coprocessor. In particualar, it records the list of local variables visible at the current yield point
It also handles the strobed viewed of the coprocessor and builds the strobed local variables list. Strobing allows the developer to see local variables when the emulation is running (see govern pacakge).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
Addr uint32
Reason coprocessor.CoProcYieldType
LocalVariables []*dwarf.SourceVariableLocal
Strobe bool
StrobeAddr uint32
StrobedLocalVariables []*dwarf.SourceVariableLocal
StrobeTicker *time.Ticker
}
State records the most recent yield
func (State) LocalVariableView ¶ added in v0.30.0
LocalVariableView returns either the LocalVariables or StrobedLocalVariables array depending on the running state and whether a strobe is active
Click to show internal directories.
Click to hide internal directories.