SQL Server exposes T-SQL call stacks through Extended Events. For example, consider a stored procedure that calls another stored procedure. The child stored procedure performs an insert into a table ...