In my opinion, providing legal drugs and rehabilitation to addicts, free of charge, would significantly reduce these kinds of thefts and break-ins, in addition to a lot of other huge societal benefits. The system works by only allowing the addict to consume the drug under supervision; they can't take anything outside of the clinic. It seems to work very well in some European countries.