How would you debug timing issues or hardware-software mismatches using a logic analyzer, oscilloscope, or JTAG debugger?