be dying of (~で死にそうになる): I was dying of thirst in the hot weather. (暑い天気で喉が渇いて死にそうでした。)

I was dying of thirst in the hot weather.