By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,725 Members | 1,209 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,725 IT Pros & Developers. It's quick & easy.

C# .NET 1.1 Debug Symbols not loading

P: 47
Hello,

I am using VS.NET 2003 and have multiple projects in my solution and an asp.net web app which is the startup project. I have inherited this project from someone else and am trying to upgrade the project but that problem is for another day :)

The issue I am experiencing is due to debug symbols not being loaded and therefore my breakpoints are not being hit. I just get a normal break point with a '?' symbol in the centre.

I understand this to be associated with the dll/pdb files not being correctly used with the source files. So I have cleared out the bin folder in the web app project and rebuilt the entire solution and all the dll that the web app depends upon.

This did not fix the problem so I went a little deeper and deleted the temporary asp.net project folders in C:\Windows\MS.Net\1.1.4322\temp aspnet. After this I restarted VS.NET 2003 and tried debugging the web app but again no symbols are loading.

This is a little confusing as I do have the configuration set to run in debug mode and i have rebuilt all dll's.

Please can I get some suggestions as to what else I can look for to correct this minor problem.

Thanks.
Apr 7 '08 #1
Share this Question
Share on Google+
4 Replies


kenobewan
Expert 2.5K+
P: 4,871
This article may help:
Tips for Debugging into System.Windows.Forms (and other managed code)
Hello,

I am using VS.NET 2003 and have multiple projects in my solution and an asp.net web app which is the startup project. I have inherited this project from someone else and am trying to upgrade the project but that problem is for another day :)

The issue I am experiencing is due to debug symbols not being loaded and therefore my breakpoints are not being hit. I just get a normal break point with a '?' symbol in the centre.

I understand this to be associated with the dll/pdb files not being correctly used with the source files. So I have cleared out the bin folder in the web app project and rebuilt the entire solution and all the dll that the web app depends upon.

This did not fix the problem so I went a little deeper and deleted the temporary asp.net project folders in C:\Windows\MS.Net\1.1.4322\temp aspnet. After this I restarted VS.NET 2003 and tried debugging the web app but again no symbols are loading.

This is a little confusing as I do have the configuration set to run in debug mode and i have rebuilt all dll's.

Please can I get some suggestions as to what else I can look for to correct this minor problem.

Thanks.
Apr 7 '08 #2

P: 47
Thanks for the response,

Unfortunately I still have no symbols loaded but I think the link you provided was interesting anyway so I will use those debug tool in future.
Apr 7 '08 #3

Plater
Expert 5K+
P: 7,872
Here's some of things I do when I run into this problem:
*Hunt down and physically remove all compiled files.
*Do a "Clean" from withen visual studio.
*Force a re-build of any and all related projects as "debug" and not "release".
(Be sure that "debug" build includes creation of symbol files, it's default to yes, but you can find it in the project properties)

In reality, doing the first item fixes my problem.
Apr 7 '08 #4

P: 47
I have fixed the problem by creating the WHOLE solution from scratch and manually importing all the files. Yes it took ages and a bit of configuring, the IDE must have got itself confused. Normally doing the "clean" as you suggest would fix this type of problem but whatever caused this specific issue I have been unable to discover.

My suggesting is for other people that experience this kind of problem to follow Plater's advice and if that does not work, like myself, you may have to rebuild your solution.
Apr 10 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.