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

Home Posts Topics Members FAQ

Cannot Debug the DLL??

Hi

I need help to debug the code in Dll I have myCom.dll and myCom.pdb files
but I canot debug myCom.dll.

Thanks
--
-MrDotNet MCAD, MCSD
Sr. Software Engineer / Lead Architect

Nov 19 '05 #1
4 2786
Are you getting some sort of error message? I'm assuming you are
loading the dll into a process and trying to debug the process, not
just the dll. They don't stand on thier own.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 6 Jun 2005 13:18:02 -0700, "MrDotNet"
<Mr******@discussions.microsoft.com> wrote:
Hi

I need help to debug the code in Dll I have myCom.dll and myCom.pdb files
but I canot debug myCom.dll.

Thanks


Nov 19 '05 #2

I am using C#.net I build MyCom.dll in Debug mod , so I get 2 file in Debug
folder, one is MyCom.dll and MyCom.pdb.
when I add references that dll in project and break point in code when I
want go in dll then I get one message " There is no source Code Available for
the current location"
and that give one option to open Disassembly.
I think .pdb file help to debuging?

that help you to understand my question
--
-MrDotNet MCAD, MCSD
Sr. Software Engineer / Lead Architect

"Scott Allen" wrote:
Are you getting some sort of error message? I'm assuming you are
loading the dll into a process and trying to debug the process, not
just the dll. They don't stand on thier own.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 6 Jun 2005 13:18:02 -0700, "MrDotNet"
<Mr******@discussions.microsoft.com> wrote:
Hi

I need help to debug the code in Dll I have myCom.dll and myCom.pdb files
but I canot debug myCom.dll.

Thanks


Nov 19 '05 #3
Yes - the PDB is a symbol file that helps the debugger find more
information about the executing code.

Make sure the PDB is copied into the main project directory, that is
/bin directory for asp.net, and that it is built in debug mode.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 7 Jun 2005 10:01:01 -0700, "MrDotNet"
<Mr******@discussions.microsoft.com> wrote:

I am using C#.net I build MyCom.dll in Debug mod , so I get 2 file in Debug
folder, one is MyCom.dll and MyCom.pdb.
when I add references that dll in project and break point in code when I
want go in dll then I get one message " There is no source Code Available for
the current location"
and that give one option to open Disassembly.
I think .pdb file help to debuging?

that help you to understand my question


Nov 19 '05 #4

Yes I copy that file into bin directory but still I CANNOT debug the code I
am geting message box "there is no source Cide Availble for the current
location" so can you help me how I do debug.

Thanks

--
-MrDotNet MCAD, MCSD
Sr. Software Engineer / Lead Architect

"Scott Allen" wrote:
Yes - the PDB is a symbol file that helps the debugger find more
information about the executing code.

Make sure the PDB is copied into the main project directory, that is
/bin directory for asp.net, and that it is built in debug mode.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 7 Jun 2005 10:01:01 -0700, "MrDotNet"
<Mr******@discussions.microsoft.com> wrote:

I am using C#.net I build MyCom.dll in Debug mod , so I get 2 file in Debug
folder, one is MyCom.dll and MyCom.pdb.
when I add references that dll in project and break point in code when I
want go in dll then I get one message " There is no source Code Available for
the current location"
and that give one option to open Disassembly.
I think .pdb file help to debuging?

that help you to understand my question


Nov 19 '05 #5

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

Similar topics

9
715
by: Paul | last post by:
Hi, VB.NET is saying the file I am creating is in use by another process and won't complete its task of moving the file to the specified destination folder. Here is my code (the main bit...
1
1291
by: lukwagoroy | last post by:
Loaded 'ntdll.dll', no matching symbolic information found. I'm writing a small program. It compiled and run. But when trying to debug by select, I got the following error messages: Loaded...
6
1852
by: Peter Afonin | last post by:
Hello: I'm running Windows server 2003. I've never had any problems with debugging, but now I cannot debug ANY of my projects. I'm getting this error: "Error while trying to run project:...
2
1362
by: Scott Adams | last post by:
Does anyone know of some good resources to use when troubleshooting why one cannot debug ASP.NET apps? I am using Win2K pro SP4 (IIS 5) on a brand new machine and I cannot debug even the most...
0
3460
by: Sin | last post by:
> Xxxxx : error PRJ0008 : Could not delete file 'd:\xxxxxxx.dll'. > Make sure that the file is not open by another process and is not write-protected. > > LINK : fatal error LNK1168: cannot open...
3
1750
by: fripper | last post by:
I am writing a simple web application using the .Net Framework 1.1 and VB ..Net. I have installed IIS on my development machine but when I try to run the program in debug mode I get an "Unable to...
4
23174
by: Glenn | last post by:
OK, I've looked up this message but am not finding how to get rid of it: "Cannot evaluate expression because a thread is stopped at a point where garbage collection is impossible, possibly because...
5
2145
by: Ryan Liu | last post by:
I have this problem: "cannot continue edit while debug in VS2005". I see the same tread after I search this topic in google, but none solutions works for me. So again, I ask here. Can someone...
6
6552
by: =?Utf-8?B?RmFiaWFu?= | last post by:
Hi, I have a pretty complicated program which consists of the following basic modules: 1. a C# application 2. a C++/CLI application which is controlled by the C# app via IPC remoting 3. lots...
5
2309
by: Just_a_fan | last post by:
I tried to put an "on error" statement in a routine and got the message that I cannot user "on error" and a lamda or query expression in the same routine. Help does not list anything useful for...
0
7037
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
7076
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...
1
6732
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...
0
6886
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
5324
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
2990
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
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
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...

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.