473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

C# .NET 1.1 Debug Symbols not loading

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
4 2496
kenobewan
4,871 Expert 4TB
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
Mr Gray
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
7,872 Expert 4TB
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
Mr Gray
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

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

Similar topics

1
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as...
1
by: Eric Robert | last post by:
Hi, I am writing a C# application that uses a C++ unmanaged DLL. When I turn the unmanaged debug option ON, the application is much slower to start and the unmanaged code is very slow to debug....
0
by: dioscuroi | last post by:
When I call OCI (Oracle Call Interface) functions in Debug mode of VC+ 7.0, it takes too much time to load oracle debug symbols, and finall failed. Error messages are printed in output window, just...
8
by: | last post by:
I'm starting up the development server myself and using the "Startup Url" property of the web project. The problem is i cannot debug. The debug symbols are never loaded. I realize they are under...
10
by: Brett | last post by:
For some reason when I step into the code below, it jumps out on the second iteration at the line I have marked below. Nothing else happens - no errors. Dim tcpClient As New...
3
by: Bardo | last post by:
Hi all, We are trying to debug an assembly which was built in debug configuration on our build server. The output window of visual studio indicates that no symbols are being loaded for the...
7
by: 2b|!2b==? | last post by:
I am attempting to manually load debug symbols for a module. I am doing it by carrying out the ff steps: i). Select the call stack window ii). right click and select 'Load Symbols' from...
2
by: Joe Stateson | last post by:
I added ajax to an existing web project. It runs fine but hitting F5 (debug) in Visual Studio 2005 slowly consumes resources: Kernel Memory and System Cache grow and I start seeing "Loading...
3
by: Dave Cullen | last post by:
It seems I have fallen victim to some strange behavior in VS2005 where it refuses to allow breakpoints to be hit during debug in my dll project. The breakpoint ball says, "breakpoint will not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.