In January of 2010, the Senate voted 60-39 for an increase in the debt limit. All 60 Senators on the side of the Democrats voted 'Yes' and all the 'No' votes were from Republicans.
Barack Obama was the President, so the Democrats sided with him.
In March of 2006, the debt limit had to be raised. But - the Republicans controlled the Senate and the White House.
The vote was 52-48 to approve an increase in the debt limit, with all 52 'Yes' votes coming from the Republicans and all 48 'No' votes coming from the Democrats.