473,473 Members | 1,607 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Debugging DLLs

I've done this, but now I'm doing something wrong and I can't figure out
what it is!

Every time I edit and compile the component that I'm creating, I copy
the DLL into C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE\PublicAssemblies. But each time I attempt to set a
breakpoint in the source code (which is a part of my Solution) I'm told
that no symbols were loaded from the current document.

Any ideas on this? There must be a check list of things that one must
do to enter DLL debug heaven and this time I'm just forgetting one of them.
Nov 17 '05 #1
4 1884
If by Dll you mean class library assembly, just attach the debugger to
the process of the application that uses your assembly. If it's a COM+
attach to dllhost and if it's a ASP.NET attach to aspnet_wp.exe.

Keep in mind about version differences.

Nov 17 '05 #2
Keep in mind about version differences.
This is where I'm having trouble. I remember it now, although vaguely.

Whenever I make a change to the control's code, I rebuild the project,
then copy the DLL into the appropriate folder, but there's something
else having to do with version control that I'm forgetting. I have no
problem debugging through the application itself -- it simply chokes
when I place a breakpoint within the new components code.

Can you help me out here by talking me through the steps that you go
through?

Tasos Vogiatzoglou wrote: If by Dll you mean class library assembly, just attach the debugger to
the process of the application that uses your assembly. If it's a COM+
attach to dllhost and if it's a ASP.NET attach to aspnet_wp.exe.

Keep in mind about version differences.

Nov 17 '05 #3
You have to copy the pdb file which contains the debugging symbols of
the component, to a location that can be reached by your application
(e.g. in the same directory with your dll).

This should suffice.

Nov 17 '05 #4
Thank you so much. This will certainly make my life a lot easier in the
next few days.

C

Tasos Vogiatzoglou wrote:
You have to copy the pdb file which contains the debugging symbols of
the component, to a location that can be reached by your application
(e.g. in the same directory with your dll).

This should suffice.

Nov 17 '05 #5

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

Similar topics

2
by: Johann Blake | last post by:
I can hardly believe I'm the first one to report this, but having gone through the newsgroup, it appears that way. I would like to open a solution in the VS.NET IDE that consists of multiple...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
3
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
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
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,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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...
0
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...
0
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 ...

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.