Documentation ¶
Index ¶
Constants ¶
View Source
const READLINE_PROMPT = "> "
Variables ¶
This section is empty.
Functions ¶
func RunUI ¶
func RunUI(out chan<- string, bye chan struct{})
*
- Execute the command line interface. *
- Read commands, validate them, turn them into DBGp commands, and pass them
- to the other part of the debugger that deals with talking to the DBGp
- engine. *
- Special commands:
- - The "bye" command exits the debugger.
- - The empty string or "refresh" command lists any DBGp message that has
- arrived after the previous command has been issued. *
- @param chan<- string out
- DBGp commands are written to this channel.
- @param chan struct{} bye
- Event channel. It is closed to broadcast the global exit event.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.