I realize that temporary tables are session/connection bound and not visible or accessible out of the session/connection.
I have a long running stored procedure that
Is this what you are after?
select * from tempdb..sysobjects --for sql-server 2000 and later versions select * from tempdb.sys.objects --for sql-server 2005 and later versions