Debugging of smart capacitors