开发者

C# debugging issue: No symbols are loaded for any call stack frame

I'm trying to step into a method referenced in an external dll from a C# web service dll. I'm developing the web service code and can step into it from my Winforms app. The dll I'm trying to step into from the web service was developed by someone else, and I have the dll and pdb files. When I try to step into it I'm getting the message below:

'No symbols are loaded for any call stack frame. The source code cannot be displayed'.

Here is my project setup:

  • .NET 3.5, VS 2008 Professional, IIS 7 running on Vista Ulti开发者_如何学JAVAmate
  • Winforms app WF1.exe, referencing web service dll WS1.dll, in 1 solution on my machine
  • Database access dll DA1.dll compiled by another developer, referenced by WS1.dll
  • DA1.dll and DA1.pdb files located in root directory of WS1 web service project
  • WS1 web service compiled and published to my local IIS, DA1.dll and DA1.pdb files get copied to the IIS WS1 bin directory

So far so good and everything works to a point. I break and step into WF1.exe then break and step into a method on WS1.dll no problems. However when I try to step into a method on DA1.dll the error occurs. Any help appreciated.

(Also meant to say I attached to the WebDev.WebServer.EXE process to try and step into DA1)

Cheers,

Ciaran


When you are debugging you can load symbols for a dll by going to Debug -> Windows -> Modules

Right click the appropriate dll and Select Load Symbols From -> Symbol Path

If you continue to have trouble with this and just want to see what is going on under the hood, you could open the dll in Reflector.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜