Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 504 Bytes

troubleshooting.md

File metadata and controls

12 lines (8 loc) · 504 Bytes

Troubleshooting

When investigating failures, you may find StreamJsonRpc's tracing functionality useful.

With the JsonRpc.TraceSource property, you can listen for:

  1. Which server methods are registered
  2. Incoming and outgoing JSON-RPC messages and how they're being handled along the entire pipeline
  3. When listening is started
  4. RPC method invocation failures with full exception callstacks.

The above is just a sample. The full list of events is available on the JsonRpc.TraceEvents enum.