OTTAWA—They ate chocolate-covered coffee beans, shared a celebrity gossip magazine, switched their contact lenses for eyeglasses, took off their shoes, fell asleep in public and danced in their chairs.

Bleary-eyed MPs continued a marathon round of voting on 871 opposition amendments — combined into 159 votes — to the omnibus budget implementation Bill C-38 that began after midnight on Thursday and was expected to stretch past midnight the following day.

“Be it protection for our environment that is being reduced, Employment Insurance that is being lost or pensions that are being taken away, or the very fact that democracy is being undermined by this government, continuing to believe that ramming through a bill like this is good policy and good politics. We disagree,” Cullen said.

Opposition parties put forward the amendments as a way to bring attention to the sweeping legislative changes lumped into the omnibus bill, which they argue is a way for the Conservatives to make controversial social and economic changes without proper scrutiny.

Finance Minister Jim Flaherty, who sponsored the bill, officially called the Jobs, Growth and Long-term Prosperity Act, dismissed the whole thing as a political game.

Liberal House Leader Marc Garneau acknowledged that opposition MPs would not succeed in getting their amendments passed, but believed their efforts at bringing attention to the omnibus federal budget bill were worth it.

“It is definitely a moral victory, but I am getting a sense that Canadians realize the government has abused its power,” Garneau said.

With the parliamentary calendar declaring it would remain Wednesday until the Commons was adjourned, MPs from all parties struggled to stay awake — not always successfully — and remain comfortable throughout the long hours of rising to say yea or nay.

NDP MP Glenn Thibeault was wearing the requisite tie and jacket when he strolled back into the House of Commons between votes on Thursday morning, but he was wearing only socks on his feet.

Opposition brace for voting marathon to thwart Harper’s omnibus bill