473,408 Members | 1,702 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,408 software developers and data experts.

How do I step through my DLL?

I have a dll that I created to use in all of the programs I create. I have one program that when I call a sub or function that is in the dll I can step into the dll code and look to see if I have any problems with the dll. I have another program where I cannot step into this dll. I assume this is a setting in visual studio because I can do this on two different machines. I have been unable to find the setting to turn on in the second project or the reason why this is occuring. Does anyone have any suggestions? Thanks
Nov 20 '05 #1
3 1772
You have to reference the project that builds your DLL, not the DLL itself
to step through.

-cJ
"mike" <an*******@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I have a dll that I created to use in all of the programs I create. I

have one program that when I call a sub or function that is in the dll I can
step into the dll code and look to see if I have any problems with the dll.
I have another program where I cannot step into this dll. I assume this is
a setting in visual studio because I can do this on two different machines.
I have been unable to find the setting to turn on in the second project or
the reason why this is occuring. Does anyone have any suggestions? Thanks
Nov 20 '05 #2
* "=?Utf-8?B?bWlrZQ==?=" <an*******@discussions.microsoft.com> scripsit:
I have a dll that I created to use in all of the programs I create. I
have one program that when I call a sub or function that is in the dll I
can step into the dll code and look to see if I have any problems with
the dll. I have another program where I cannot step into this dll. I
assume this is a setting in visual studio because I can do this on two
different machines. I have been unable to find the setting to turn on
in the second project or the reason why this is occuring. Does anyone
have any suggestions?


Is the DLL's source available on the 2nd computer? Are the projects
part of the same solution?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet/>
Nov 20 '05 #3
Hi Mike,

If you have the source code available for the DLL, you can do the following:

1. Open the solution for the program that calls your DLL
2. Set a breakpoint at the line of code that calls your DLL
3. Open the DLL's source file that will be called (File --> Open -->
File...)

You should then be able to run your solution, stop at your breakpoint, and
then step into the DLL. Please try these steps and let me know how it goes.

HTH,
Derrick
"mike" <an*******@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com...
I have a dll that I created to use in all of the programs I create. I

have one program that when I call a sub or function that is in the dll I can
step into the dll code and look to see if I have any problems with the dll.
I have another program where I cannot step into this dll. I assume this is
a setting in visual studio because I can do this on two different machines.
I have been unable to find the setting to turn on in the second project or
the reason why this is occuring. Does anyone have any suggestions? Thanks
Nov 20 '05 #4

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

Similar topics

6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
10
by: tram | last post by:
How do we pass on the step1 output file to step2 of the same job? I would like to know the current job's output file programmetically, instead of hard coding it. Any idaes would be appreciated. ...
4
by: Claudio Grondi | last post by:
I need to unpack on a Windows 2000 machine some Wikipedia media .tar archives which are compressed with TAR 1.14 (support for long file names and maybe some other features) . It seems, that...
4
by: light_wt | last post by:
Hi I am taking the 2555 class and a lot of the material is over my head. I don't like the MS's book because there is no step-by-step on interacting with the VS.NET Is there good free resource...
3
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
1
by: Jim Hammond | last post by:
I can get data from a client-side assembly to the server in two manual steps, but I need to be able to do it in one step. Step 1: The user presses the manually coded "Step 1" button, which calls...
27
by: Julien Fiore | last post by:
Do you wand to install Pyrex on Windows ? Here is a step-by-step guide explaining: A) how to install Pyrex on Windows XP. B) how to compile a Pyrex module. Julien Fiore, U. of Geneva
5
by: ibiza | last post by:
Hi all, I'd need a function that would rounds values like : d = roundTo(64.2, 0.25) ' returns 64.25 d = roundTo(64.2, 10) ' returns 64 d = roundTo(64.2, 100) ' returns 100 well, that rounds...
7
by: gregory.lielens | last post by:
Hi, I am using a small python file as an input file (defining constants, parameters, input data, ...) for a python application. The input file is simply read by an exec statement in a specific...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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...

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.