473,890 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# .NET 1.1 Debug Symbols not loading

47 New Member
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.N et\1.1.4322\tem p 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 2517
kenobewan
4,871 Recognized Expert Specialist
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.N et\1.1.4322\tem p 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 New Member
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 Recognized Expert Expert
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 New Member
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
3477
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 references, so that when I compile the project, the dll files and corresponding pdb files are are automatically copied to the bin\debug directory of my application. When I look at the Modules window during debugging, it seems that the debug symbols for...
1
2566
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. Is it normal? Eric Robert
0
1205
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 like a follows: 'ExeCrashZoneServer.exe': Loaded 'C:\Oracle\Ora81\bin\oraclient8.dll' Cannot find or open a required DBG file. 'ExeCrashZoneServer.exe': Loaded 'C:\Oracle\Ora81\bin\ORACORE8.DLL' Cannot find or open a required DBG file....
8
1927
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 the temporary internet files folder but I have even tried using the new depoloyment addin-in but that does not seem to work either. There is a /bin folder with the debug symboles in there but it still does not load them up How can i include the...
10
1932
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 System.Net.Sockets.TcpClient tcpClient.Connect("127.0.0.1", 9005) While True Dim networkStream As NetworkStream = tcpClient.GetStream()
3
4256
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 assembly. However, when the PDB file is copied alongside the dll, the symbols load ok. We were a little confused, because we had already been debugging this assembly WITHOUT copying the pdb file. What I discovered was that when the assembly is built...
7
15674
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 displayed menu iii). The Find Symbols: MyModule.pdb dialog box is displayed However, when I navigate to and select the correct pdb file (myModule.pdb), an error message is displayed with the message:
2
1856
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 symbols for C:\WINDOWS\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0___\System.Web.Extensions.dll" in the VS2005 footer. After several hours of coding and debugging it can take 2 minutes before that "loading symbols" finally finishes. ...
3
2875
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 currently be hit. no symbols have been loaded for this document". The modules window says symbols for the dll aren't loaded and when I try to load them I get an error that says the module and pdb file don't match. The strangest part is that the...
0
9978
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9820
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10814
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10922
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10462
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9630
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8016
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7169
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
3
3276
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.