Fetching details from the dictionary...

to struggle; to writhe; to wriggle; to squirm
to act frantically; to make desperate efforts
借金を返すために踠いている彼を助けたい。
He was struggling in a hell of debt.
現状から抜け出そうと踠いている。
I'm struggling to escape the current situation.
踠いても状況は変わらないと悟りました。
I realized that struggling won't change the situation.