Green’s Dictionary of Slang

third degree v.

also put on the third degree
[third degree n.]

[1910s+] to interrogate forcefully and/or violently; thus third-degreeing n.