Problem Finding Source while Debugging an ILMerged Assembly
- From: robromito@xxxxxxxxx
- Date: 23 Feb 2007 07:33:04 -0800
We're using Visual Studio 2005 Team Suite. I've got SP1 installed.
I'm currently working with two solutions. Both solutions are built
using the debug configuration.
Solution A contains multiple projects that are built and then combined
into one assembly using ilmerge. The ilmerge operation creates the
pdb for the merged assembly.
Solution B contains multiple projects that have file references
pointing to the ilmerged Solution A assembly. Solution B does not
reference any of the original assemblies / projects from Solution A.
I'm working with both solutions, so I have all the source code
contained in both solutions on my workstation. The source for
Solution A is in a different directory structure than the source for
Solution B.
I'm trying to debug a unit test that's contained in Solution B. I can
step through the code contained in Solution B without trouble. When I
need to step into code that's contained in the ilmerged Solution A
assembly, I cannot get the code to display. I've confirmed that the
symbols are loaded for the ilmerged Solution A assembly, and I can use
break at function to put a break point at code in the ilmerged
Solution A assembly. However, when the break point is hit, I can only
see the disassembly. I cannot get the source code to display.
I've gone to the solution properties - common properties - debug
source files dialog and I've added the root source directory for
Solution A and I've tried adding the project directories for the
different projects in solution A. No matter what I try, I can't get
the source code for projects in Solution A to display while debugging
Solution B.
Has anyone out there gotten this working? I appreciate any help I can
get.
Thanks,
Rob
.
- Follow-Ups:
- Re: Problem Finding Source while Debugging an ILMerged Assembly
- From: robromito
- Re: Problem Finding Source while Debugging an ILMerged Assembly
- Prev by Date: Remote Debug, VS2005, Managed code using IP for Qualifier does NOT WORK
- Next by Date: How to debug a VB com+ is call from ASP.NET Webservice
- Previous by thread: Remote Debug, VS2005, Managed code using IP for Qualifier does NOT WORK
- Next by thread: Re: Problem Finding Source while Debugging an ILMerged Assembly
- Index(es):
Relevant Pages
|
Loading