How would you isolate whether a bug originates in the software stack, the network layer, or the hardware itself?