usage of CT(Current transformer) is a better choice because inductor is a reactive and surge related component and in a switching regulator this phenomenon is used... so the usage of resistor would introduce power constraints....
Attaching my circuit. This is 12V to 5V/100mA buck regulator. Actually i would like to measure if my circuit current is limited to 100mA or not. So please help me to measure inductor current.
i want the waveform you got and how much it differed from the expected waveform.... also what resistor value you used and the instrument used to obtain the waveform....