Painstakingly has 2 different meanings across 1 category:
Adverb
in a fastidious and painstaking manner
"it is almost a waste of time painstakingly to learn the routines of selling"
In a painstaking manner; very slowly and carefully.