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

Stepping Through Code Not Included in Solution

Is there some way to leverage the pdb file so the users of my framework
will be able to step through the base class code and, therefore, not
have to reference the framework project in their solution?

Mar 1 '06 #1
3 1289
Hello, Coder!

C> Is there some way to leverage the pdb file so the users of my framework
C> will be able to step through the base class code and, therefore, not
C> have to reference the framework project in their solution?

If they will have access to source code and suitable pdb file, then it is possible. However, then 'Framework' must be built with sources on shared resource ( bad way ) or every user has to build the 'Framework' to obtain valid pdb file

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Mar 1 '06 #2
Hi Vadym,

Thanks for the quick reply.

I'm OK with them having access to the source file. I just don't want
them to have to include it in their solution.

So, if I have a pdb file and source file somewhere, how do I tell the
IDE to step through the external source file's code?

Thanks again,
Coder

Mar 1 '06 #3
Hello, Coder!

C> I'm OK with them having access to the source file. I just don't want
C> them to have to include it in their solution.

Users can build separate assembly with pdb, then reference that assembly from their project, and thats it... ( there may be issues with 'copy local' property )

C> So, if I have a pdb file and source file somewhere, how do I tell the
C> IDE to step through the external source file's code?

Pdb file has the info for the debugger where to look for the sources.
The only tricky moment here is to have correct path in the pdb file. And the path in the pdb file is set by the compiler that builds the assembly.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Mar 2 '06 #4

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

Similar topics

3
by: c# newbie | last post by:
When stepping through code, to find where an error is thrown, the problem is that I have to step threw the statement that causes the error, and if it's in a class that's instantiated from the main...
67
by: Steven T. Hatton | last post by:
Some people have suggested the desire for code completion and refined edit-time error detection are an indication of incompetence on the part of the programmer who wants such features. ...
5
by: pinaki_m77 | last post by:
Hi, I am trying to debug a C++ program using Microsoft VC++ IDE. The program loads a dynamic link library (dll) and later makes calls to functions inside this dll. I want to step inside the code of...
5
by: craig | last post by:
Is it possible to step into the code of a referenced .net assembly from within a project that is being debugged? Thanks!!!
25
by: David C | last post by:
I posted this question, and from the replies, I get the impression that I worded my posting very poorly, so let me try this again. While debugging and stepping through this foreach loop ...
0
by: Coder | last post by:
Is there some way to leverage the pdb file so the users of my framework will be able to step through the base class code and, therefore, not have to reference the framework project in their...
0
by: =?Utf-8?B?TWlrZSBPS0M=?= | last post by:
VB 2003 As I am stepping through code, I want to see a data table in a grid, so I can easily see the data in the data table. Currently I QuickWatch the data table, then I have to add ".rows(0)"...
7
by: Lyn | last post by:
Is there a solution to this problem? While stepping through code (F8) it would sometimes be helpful to observe changes occurring on the affected form in the Access window. However, the current...
10
by: Phil | last post by:
VB2005 Express. I am developing a solution that involves a windows forms application and a number of class library projects (DLLs). Some of the DLLs require extra data files or third party dlls. I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...

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.