Open zhjwpku opened 3 months ago
How to debug parallel workers effectively?
How to debug parallel workers effectively?
There seems no perfect ways to do this, Robert add while loops in the code, after attached to the process, set the condition value to step over the loop; Tomas prefer to add log messages and analyze the logs to find bug; Andrey mentioned we can use Injection points to write some tap tests.
Some links mentioned in session 2:
Workshop Title
Andrey Borodin, Byte Relay, Walk-through of Implementing Simple Postgres Patch: From sources to CI
Date: September 2024
Resources