You must save the object first.
SQL Server 2005
Before running or debugging a stored procedure, you must first save the changes you have made in the SQL editor.
Before running or debugging a stored procedure, you must first save the changes you have made in the SQL editor.
