How to troubleshoot max7219?

The code is working fine with a dip-based setup on breadboard. Both the sample that came with the ledcontrol library and my own code. Even using the same arduino without reprogramming, just unplugging the boradboard and connecting the pcb.