When you attach to the WCF service, are you manually choosing the
debugger engines to load? If not, the JIT debugger could be loading the
SQL debugger automatically.
MCSD, MCDBA, MCSE
Web Site: http://www.composablesystems.net
"StanB" <StanB@discussions.microsoft.com> wrote in message
> This worked fine with ASMX: set breakpoint before service call, hit F11,
> debugger attaches and steps into the service code.
> I can't figure out why it does not work for WCF.
> First of all, debugger does not atomatically attach to the service.
> Secondly, if I attach manually it fails later in the code with the weird
> message about execute permissions on sp_sdidebug. It appears that debugger is
> trying to step into SQL code, however SQL debugger is turned off for all
> projects. This maybe a separate issue, though.
> I really would like to switch from ASMX to WCF but I need to be able to
> debug. It is weird because ASMX debug works fine in the same solution...