A controversial measure addressing immigration and food stamps stirred some intense debate when it was taken up in the state House on Tuesday.