I have a really large stored procedure which calls other stored procedures and applies the results into temp tables.
I am debugging in SQL 2008 Management Studio and
simply dont drop temp table or close transaction
eg
select * into #temp from myTable select * from #temp