Home > Archive > Visual Studio > September 2004 > There is no source code available for the current location
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
There is no source code available for the current location
|
|
|
| I am debugging a VB.NET application which uses a few assemblies. These
assemblies are also open as a project under the same solution. However, I
get the following error:
There is no source code available for the current location
when I try to debug the application. This error is thrown at random code
lines. At times it will skip the break points as well. It has been very
annoying to me and I haven't yet got any solution to this yet.
I have also tried deleting all the dlls and exes and recompiling the
solution (debug mode).
I have also noticed that, if I Step into a line of code it goes to the next
line in debug mode. But then it throws the same error on another line.
Whereas, if I step over the line of code, it gives the same error on the
same line.
Any help appreciated.
Thanks
RAJ
| |
|
| Additional Info:
I am using Windows XP SP1a, Visual Studio .NET 2003, IIS 5.1. Have tried
deleting all .exes, dlls and pdb files, the problem still persists.
Thanks
RAJ
"RAJ" <rjalori@hotmail.com> wrote in message
news:ObC1Pm%23mEHA.3564@tk2msftngp13.phx.gbl...
> I am debugging a VB.NET application which uses a few assemblies. These
> assemblies are also open as a project under the same solution. However, I
> get the following error:
> There is no source code available for the current location
> when I try to debug the application. This error is thrown at random code
> lines. At times it will skip the break points as well. It has been very
> annoying to me and I haven't yet got any solution to this yet.
> I have also tried deleting all the dlls and exes and recompiling the
> solution (debug mode).
> I have also noticed that, if I Step into a line of code it goes to the
next
> line in debug mode. But then it throws the same error on another line.
> Whereas, if I step over the line of code, it gives the same error on the
> same line.
>
> Any help appreciated.
> Thanks
>
> RAJ
>
>
| |
|
| Cracked it! I can't believe what was causing this!
I had a timer on a form. I was calling a function which in turn called a few
functions of another assembly. Whenever, I tried to debug inside the timer
event (tick) it used to give me this error. If I remove the code, outside
the timer and invoke it using a button_click event then it worked perfectly
all right. I came across the following article while searching on Google:
http://support.microsoft.com/defaul...b;EN-US;Q329247
Hope this helps!
"RAJ" <rjalori@hotmail.com> wrote in message
news:ObC1Pm%23mEHA.3564@tk2msftngp13.phx.gbl...
> I am debugging a VB.NET application which uses a few assemblies. These
> assemblies are also open as a project under the same solution. However, I
> get the following error:
> There is no source code available for the current location
> when I try to debug the application. This error is thrown at random code
> lines. At times it will skip the break points as well. It has been very
> annoying to me and I haven't yet got any solution to this yet.
> I have also tried deleting all the dlls and exes and recompiling the
> solution (debug mode).
> I have also noticed that, if I Step into a line of code it goes to the
next
> line in debug mode. But then it throws the same error on another line.
> Whereas, if I step over the line of code, it gives the same error on the
> same line.
>
> Any help appreciated.
> Thanks
>
> RAJ
>
>
|
|
|
|
|