That is it for tonight's debate. You can read a report on it and watch video highlights on theBBC Scotland news website.
Also, you can watch the whole programme again on theBBC iPlayer soon.
Jim Murphy said governments need to invest much more in social housing.
Ms Sturgeon, responding to criticism for scrapping the right to buy scheme, said the policy "had had its day".
Ruth Davidson criticises the SNP and Nicola Sturgeon for scrapping the help to buy scheme in housing.What did the Scottish Conservative manifesto say on housing?
Willie Rennie agreed with Nicola Sturgeon, and said it is important to build hundreds of thousands of homes across the United Kingdom.
He added that by creating jobs, young people will be able to buy their own homes.What did the Scottish Lib Dem manifesto say on housing?
Jim Murphy said 95% of all money spent on housing in Scotland is spent on benefits.
He said it important to regulate rents in the private sector so landlords can't rip young people off.What did the Scottish Labour manifesto say on housing?
Nicola Sturgeon is the first leader to speak about the issue of housing.
She says the SNP, in the Scottish Parliament, want to build 30,000 homes in the lifetime of this parliament.What did the SNP manifesto say on housing?
On the issue of tactical voting, Ms Davidson said she doesn't believe with it "in principle".
Mr Murphy, meanwhile, said he believes in the first-past-the-post system.
Ms Sturgeon said the SNP was in favour of proportional representation, and adds the House of Lords should be abolished.
Mr Rennie said the Liberal Democrats believes every vote should count.
He said that proportional representation would mean you could vote in what you believe in, and not vote in all different directions.
He calls the current voting system is "corrupt".
Ms Davidson said proportional representation would be "great for the Tories".
She said at the last general election in Scotland, the Conservatives got one in six votes but one in 60 seats.
Jim Murphy says there should be a moratorium on another independence referendum, ruling it out for at least five years.
Ms Sturgeon said the only parties talking about the referendum are the other parties.
Ms Davidson adds that the SNP are not representative of all the people of Scotland.
Ms Davidson said the Conservatives have taken a stance that it would do no deals with any of the nationalist parties from across the United Kingdom.
Ruth Davidson said the "deal-by-deal" vote Labour and the SNP would do is the sort of politics that voters don't want.
Ms Sturgeon said she would use any clout the SNP has to stop the renewal of Trident.
Willie Rennie said there would be "absolute chaos" if the SNP hold the balance of power in Westminster.
Ms Sturgeon reiterates "the people of Scotland" will decide if there is another independence referendum.
Ms Sturgeon said that if Labour puts forward a budget that proposes cuts, the SNP would vote against it.
Ms Sturgeon said she was appalled when Ed Miliband said he would rule out any deals with the SNP. She said any chance to get the Conservatives out should be taken.
Nicola Sturgeon said that neither the Conservatives and Labour would win a majority, according to the polls.
Ms Sturgeon, with experience in minority governments, says parties need to work together by building support for policies.
Mr Murphy says Labour wants to change the country "dramatically".
Jim Murphy kicks off the debate on a hung parliament.
He said that if Scotland votes Labour, the United Kingdom will get a Labour government.
What is full fiscal autonomy?
Mr Murphy brings up the issue of full fiscal autonomy, and says it will create a black hole in the economy.
He asks how Ms Sturgeon can talk about cutting austerity when full fiscal autonomy would result in more cuts.
Ms Sturgeon said the cuts are hurting real people who don't deserve to pay for austerity and the crash.
Ms Sturgeon said when it comes to policy, there is very little between Labour and the Conservatives.
Ms Davidson calls Mr Murphy a liar, to which the Scottish Labour leader responds "How dare you."
Mr Murphy said he is angry that, under a Conservative-led government, more people have had to use food banks.
Ms Davidson says changes are needed to the benefits system. The Scottish Conservative leader said they will make work pay.
She says a Conservative government will not make cuts to child benefit.