How good are current PCB debugging tools?
Modern tools are very good at testing CCAs.
Here are some of the common tools that are used in the electronics industry.
Automated Optical Inspection (AOI)
AOI equipment uses a camera to look for missing parts, mis-placed parts, and bad solder joints.
This is typically the first test after a board is assembled.
X-RAY Inspection
If the board contains no-lead parts or Ball Grid Array (BGA) parts, then AOI can't inspect all the solder joints. In this case X-Ray inspection equipment is used to verify that the solder joints under these parts don't have defects.
Automated Test equipment (ATE)
After being assembled the CCAs can be plugged into automated test equipment. The ATE applies input signals and commands to the card and then measures the response. ATE can perform tests much faster and more accurately than factory technicians can test by hand.
Good ATE should make measurements for each function that the card is required to perform.
ATE usually involves some custom-built hardware and wiring harnesses to test each design.
Flying Probe
Companies like SPEA make flying probe equipment.
For bare PWBs, the board house can conduct tests for electrical continuity and isolation using a flying probe.
For assembled boards, a flying probe can make measurements of individual components. This can be used to verify that the parts are the correct part (right value of resistor/capacitor), or that they were placed correctly (diode not backwards).
JTAG
For boards that have chips with JTAG boundary scan, this method can be used to measure each IO pin on the chips in the scan chain. It can also be used to inject stimulus from those IO pins to other chips (which may or may not be on the chain).