Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
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



Report this thread to moderator Post Follow-up to this message
Old Post
RAJ
09-16-04 04:13 PM


Re: There is no source code available for the current location
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
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
RAJ
09-17-04 09:03 AM


Re: There is no source code available for the current location
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
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
RAJ
09-22-04 09:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Studio archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:07 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.