Open JamesNK opened 11 months ago
System.IO.Pipelines is really hard to debug. Many bits of useful information about the current state of the pipe are buried deep in private fields.
Custom debugger type proxies should be added to PipeReader and PipeWriter that expose useful information:
PipeReader
PipeWriter
Pipe
Also, FlushResult and ReadResult should have debugger display attributes.
FlushResult
ReadResult
System.IO.Pipelines is really hard to debug. Many bits of useful information about the current state of the pipe are buried deep in private fields.
Custom debugger type proxies should be added to PipeReader and PipeWriter that expose useful information:
PipeReader
orPipeWriter
complete?Pipe
? Including the pipe allows someone to easily navigate between debugging the reader and writer.