Groups | Blog | Home
all groups > visual studio .net debugging > june 2007 >

visual studio .net debugging : "There is no source code available..." question.


Bobzilla
6/14/2007 9:04:18 AM
Ok, so I've looked around and I can't seem to find an answer to my
specific question, so here goes...

I am using VS 2003 and I have a solution with code and all that I am
steping through. When I get to a certain spot I get the "There is no
source code available for the current location." error, which I
completely expect because it is a dll. My issue is that I have the
source code for the dll and I was wondering if there was a way to
point to that source code? I don't want to add it to the solution,
but I do want to be able to step through it. All of the code is on my
local machine. If anyone can help I would greatly appreciate it.

Thanks.

Matt
Oleg Starodumov
6/14/2007 12:25:06 PM

[quoted text, click to view]

Make sure that
- the dll is compiled with debug information enabled (see project properties)
- the dll is loaded from the expected location (see the path to the dll
in the debugger's Modules window)

--
Oleg
[VC++ MVP http://www.debuginfo.com/]

Bobzilla
6/14/2007 1:00:31 PM
On Jun 14, 2:25 pm, "Oleg Starodumov" <com-dot-debuginfo-at-oleg>
[quoted text, click to view]

The dll is compiled in debug. When I look at the Modules window it
shows that the dll is loaded from the gac (C:\windows\assembly\gac
\...). How would I point it to a different location?
Oleg Starodumov
6/18/2007 7:37:59 AM

[quoted text, click to view]

There are many ways. You can find the complete overview here
and choose the way that suits your application best:
http://www.grimes.demon.co.uk/workshops/fusionWS.htm

Oleg



AddThis Social Bookmark Button