Extended stored procedures can be debugged using Microsoft Visual C++. For more information on how to debug a DLL, see your documentation for Visual C++.