考えあぐねる
1
to be at a loss;to rack one's brains in vain;to think and think but get nowhere;to fail to come up with a good idea
Other forms
考え倦ねる 【かんがえあぐねる】 (rarely used kanji form)