473,804 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Annoying Problem While Debugging ASP.NET

Joe
Hello everybody,

I am working on a .NET solution containing 2 projects, one depending on the
other (Website depends on Library). I am using .NET 1.1.

The annoying problem is that I'm not able to debug the code written in
Library. The execution doesn't stop on breakpoints, and each breakpoint
circle shows a question mark inside it, on mouse over this message is shown:
"The breakpoint will not currently be hit. No symbols have been loaded for
this document."

The classes created in the Website project still can be debugged normally, I
only face the problem in the Library project.

I have deleted all cached files from VSWebCache and the Temporary ASP.NET
Files. I have deleted all the temporary files like the debug folder and the
pdb files.

The configuration of both projects is set to DEBUG.

I have installed the Serivce Pack 1 of the framework.

I don't know what else I should do to debug the Library project again.

Any help would be greatly appreciated.

Thank you,

Joe.
Dec 29 '05 #1
2 1372
hi Joe,
just to make sure that you have referenced the library with a project
reference instead of a DLL reference?
i think you probably have because of the dependency setup but it could
explain why your debug isn't working.

thanks
tim

--------------------------
blog: http://tim.mackey.ie

"Joe" <do****@softhom e.net> wrote in message
news:u8******** ******@TK2MSFTN GP14.phx.gbl...
Hello everybody,

I am working on a .NET solution containing 2 projects, one depending on
the other (Website depends on Library). I am using .NET 1.1.

The annoying problem is that I'm not able to debug the code written in
Library. The execution doesn't stop on breakpoints, and each breakpoint
circle shows a question mark inside it, on mouse over this message is
shown: "The breakpoint will not currently be hit. No symbols have been
loaded for this document."

The classes created in the Website project still can be debugged normally,
I only face the problem in the Library project.

I have deleted all cached files from VSWebCache and the Temporary ASP.NET
Files. I have deleted all the temporary files like the debug folder and
the pdb files.

The configuration of both projects is set to DEBUG.

I have installed the Serivce Pack 1 of the framework.

I don't know what else I should do to debug the Library project again.

Any help would be greatly appreciated.

Thank you,

Joe.

Dec 29 '05 #2
Joe
Dear All,

I have solved the problem by coincidence yesterday. Here below is the
description of what I did:

In the properties of the Website project, in the Common Properties/Reference
Path section, I have two paths, one for the Web Application bin folder
(C:\Inetpub\www root\eBanking\W ebsite\bin\) and the other for the Class
Library bin folder (C:\Inetpub\www root\eBanking\L ibrary\bin\).

I have just inverted the listing order of the 2 paths so the Library bin
path comes first, then everything worked fine.

But for some reason, the order of these 2 paths is sometimes being inverted
at runtime.

Joe.
Jan 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1734
by: Uri Dor | last post by:
after debugging ends, the text editor (VS.NET 2003) doesn't scroll so the line the cursor on is visible. annoying!
10
2357
by: Douglas Buchanan | last post by:
I am using the following code instead of a very lengthly select case statement. (I have a lot of lookup tables in a settings form that are selected from a ListBox. The data adapters are given a similar name to the table. Rather than making a long Select Case that could become obsolete if lookup tables are added and the source table of the ListBox is edited I came up with this code.) This code works but of course it gives me build...
20
1735
by: sathyashrayan | last post by:
What is the use of the above do-while. Is it simply a style issue. Since the above same condition will applied with out a do-while(0); because the loop executes only once. I went through the faq section 10.4 but I am little understood. Any answers please? -- "combination is the heart of chess" A.Alekhine Mail to:
147
10195
by: Michael B Allen | last post by:
Should there be any preference between the following logically equivalent statements? while (1) { vs. for ( ;; ) { I suspect the answer is "no" but I'd like to know what the consensus is
11
2760
by: Claude seraphin | last post by:
I'am having this message while trying to rune my asp.net app on win3k server. I have set debug="true" in <compilation section in my web.config . Can anyone help me? Thanks in advance
1
1463
by: David | last post by:
Lately I have been getting the following error with all of my web applications, in debug and release mode. "Error while trying to run project: Unable to start debugging on the web server. Could not start ASP.NET or ATL Server debugging. Verify that ASP.NET or ATL Server is correctly installed on the server." I can create a brand new hello world web application and this happens. Any ideas?
8
3809
by: John A Grandy | last post by:
tools > options > debugging > edit and continue by default, the option "allow me to edit vb files while debugging" is checked for c#, but unchecked for vb.net .... ? does anyone know why this is ?
3
1940
by: Mike | last post by:
In VB 6, you could change most code while your project was in Break mode. I am targeting the Pocket PC, and VB .NET 2003 is not allowing me to change code while debugging. Is this true for all VB .NET projects or just for the Pocket PC?
84
7236
by: braver | last post by:
Is there any trick to get rid of having to type the annoying, character-eating "self." prefix everywhere in a class? Sometimes I avoid OO just not to deal with its verbosity. In fact, I try to use Ruby anywhere speed is not crucial especially for @ prefix is better- looking than self. But things grow -- is there any metaprogramming tricks or whatnot we can throw on the self? Cheers,
0
9595
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,...
1
10359
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
9177
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
7643
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
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5675
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4314
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3005
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.