Hello all,

when i'm stepping through my code the IDE suddenly do not find source
code anymore. A window pops up and shows the message "There is no
source code available for the current location".

How can i get rid of this feature/bug?

I have built all from scratch ,cleared all precompiled files,
unchecked the "Unmanaged code debugging" checkbox. Still the same
message.

RE: There is no source code available for the current location by DavidWilliams

DavidWilliams
Mon Jun 28 13:06:03 CDT 2004

Normally when I see this message it is due to attempting to debug into an assembly that is no longer associated with VS.NET. I.E. I have a component that I wrote sometime ago that teh source code is not on this system.

There is one other time that I have seen this happen which is when the assemply that I am debugging has been set to read-only, I re-complied it in a different instance of VS.NET and the current copy of the DLL did not get updated. Now when I attempted to debug, as the source lines no longer match the IL, I would get this message.

HTH
--
David Williams, VB.NET MVP


"Frasse" wrote:

> Hello all,
>
> when i'm stepping through my code the IDE suddenly do not find source
> code anymore. A window pops up and shows the message "There is no
> source code available for the current location".
>
> How can i get rid of this feature/bug?
>
> I have built all from scratch ,cleared all precompiled files,
> unchecked the "Unmanaged code debugging" checkbox. Still the same
> message.
>

Re: There is no source code available for the current location by Cowboy

Cowboy
Mon Jun 28 13:12:39 CDT 2004

This can happen when you hit a method of a control you have compiled.
Sometimes, you will see it with the Framework, but most of this is coded to
ignore (step over).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
"Frasse" <yacrumb@yahoo.se> wrote in message
news:946ec86d.0406280504.4f831b33@posting.google.com...
> Hello all,
>
> when i'm stepping through my code the IDE suddenly do not find source
> code anymore. A window pops up and shows the message "There is no
> source code available for the current location".
>
> How can i get rid of this feature/bug?
>
> I have built all from scratch ,cleared all precompiled files,
> unchecked the "Unmanaged code debugging" checkbox. Still the same
> message.