GDB (xrefs)
Loading...
Searching...
No Matches
Functions
gdb.dap.io Namespace Reference

Functions

 read_json (stream)
 
 start_json_writer (stream, queue)
 

Function Documentation

◆ read_json()

gdb.dap.io.read_json ( stream)
Read a JSON-RPC message from STREAM.
The decoded object is returned.

Definition at line 21 of file io.py.

◆ start_json_writer()

gdb.dap.io.start_json_writer ( stream,
queue )
Start the JSON writer thread.
It will read objects from QUEUE and write them to STREAM,
following the JSON-RPC protocol.

Definition at line 44 of file io.py.