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

Debugging referenced project

Bob
Hi,
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing anything differently in the projects I
can/cannot debug externally.

Thanks,
Bob

Sep 12 '07 #1
3 1376
Bob <bs********@yahoo.comwrote:
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing anything differently in the projects I
can/cannot debug externally.
You need to have the PDB files generated for the referenced assemblies,
and the source of course.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Sep 12 '07 #2
Bob
On Sep 12, 4:13 pm, Jon Skeet [C# MVP] <sk...@pobox.comwrote:
Bob <bshumsk...@yahoo.comwrote:
What do I have to do to be able to debug an external project
referenced by another project? I have a project that references
several other projects. For some of the external projects, I can hit
"goto class definition" and I get the code in the referenced project
that I can breakpoint, etc. For others, I just get "from metadata"
which shows the various methods and their signatures but no code to
debug. I do not remember doing anything differently in the projects I
can/cannot debug externally.

You need to have the PDB files generated for the referenced assemblies,
and the source of course.

--
Jon Skeet - <sk...@pobox.com>http://www.pobox.com/~skeet Blog:http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Thanks for your quick response. There is a pdb file in the referenced
folder with the same name (before extensions of exe and pdb) as my
reference.

Sep 12 '07 #3
Bob <bs********@yahoo.comwrote:
Thanks for your quick response. There is a pdb file in the referenced
folder with the same name (before extensions of exe and pdb) as my
reference.
It needs to be the latest version - i.e. the pdb has to be from the
same build as the dll.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Sep 13 '07 #4

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...
1
by: Jimi | last post by:
(Sorry for the repost, but I thought maybe I'd have better luck this time) I'm working on a utility to provide an overview of one's .NET projects and one of the things I want to display is...
2
by: thomas | last post by:
I have an c# exe-application which referenced a managed c++ dll. The managed c++ dll is an wrapper for some unmanaged c++ classes in a separate dll. That works fine but I can't debug in the...
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: Ashish | last post by:
Iam having some trouble debugging in the new vs2005. I have a class library and a web project, and web project references that class library. I have a custom handler for a http request in the class...
2
by: Andy | last post by:
Hi all, I have a project which references a DLL on a network share. The dll on the network share is one built by our integration server and I have the source code for it. I'm trying to debug...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
by: Les Caudle | last post by:
I've got some old .NET 1.0 code written by another programmer where he has a project divided into several different namespaces. I'm attempting to get it working under .NET 2.0. I notice that...
0
by: Socorro | last post by:
I'm getting a strange recurring error when debugging a website project. It happens frequently and takes a long time (even hours sometimes) to recover and work around. Object...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.