What's the difference between “睡不着” and "没睡着“？ Please help me clarify the difference between the two phrases: 
I thought that 睡不着 means that you cannot fall asleep (可能补语）
for example: 我经常失眠， 睡不着觉。 
and that 没睡着 means that you didn't sleep （结果补语） 
for example: 牙疼死了， 一夜没睡着。

But there were also examples like
昨晚我一夜睡不着 
is it the same meaning as 没睡着？
"睡不著" implies that you want to sleep but you cannot, while "沒睡著" just means that you did not fall asleep. So if you say "昨晚我一夜沒睡著" you could mean that you successfully kept yourself awake all night last night, which is apparently different from "昨晚我一夜睡不着".

Actually, although "牙疼死了，一夜沒睡着" is OK, "牙疼死了，一夜睡不著" is better.