While marital spying could land a spouse in hot water, it’s also putting attorneys in some sticky situations.

Divorce lawyers say they are treading very carefully as to how they handle feuding spouses who spy on each other, noting that a growing number of clients are using controversial — and sometimes illegal — methods.