This is in VS 2003
I haven't tried to set debug points in other projects that are tied to this project. What I mean is, I am building my windows form, running it and would like to set debug points in a couple of other projects that this one is using a binary reference to.
We are not going to be using project references, because it's our standard not to. So I am not just going to add the other projets inside this solution.
I tried to open my other 2 solution files, tried to set breakpoints, then ran my current project but it's not stopping at the breakpoints I set outside this project, in my other 2 solutions. I know the code is htting those methods but it's not stopping at my breakpoints outside this one I'm running. Also, it say no symbols have been loaded in the other 2 solutions when I set the breakpoints (I see a question mark symbol in the break point).
How do you go about setting this all up so that I can see what's going on in the entire code base, not just this projects when you have binary references

How to set breakpoints in other projects when current is using binary references
joynerCN
Hi,
in order for you to be able to debug you need to have the debug symbols, located in the pdb file which is created along with the assembly. Copy the pdb from the other project into the directory where your executable is running and try again to hit the breakpoint, it should then work.
Mark.
bennymacca
Solution A -Holds project A which contains awindows form and holds a binary reference to my project in Solution B
Solutino B - Runs Project B, the main operations for my IWorker process for Project A and Project B holds a binary reference to Project C (abstract classes)
Solution C - Holds Project C, our Abstract Classes - that are used in Project B for some of my methods, etc.
So, when I build Project A, my windows form pops up. I click the start button we have on our form which kicks off my JupiterAudioOperation : IOperationSlave in Project B
I want to know how if I set breakpoints in either Project B or Project C, that it will get picked up when I run my Iworker in Project A . I mean, looking at this from a very basic level, you don't just start to debug B and C as that wouldn't do anything. Project A must somehow share it's debug session I would thing with the other two. I have absolutely no idea from a novice perspective how to get the debug points to fire off when I start Project A's worker process which is kicking off my JupiterAudioOperation : IOperationSlave in Project B and so on...
In Project A, I have this:
using System;
using Interfaces.ImportOperation;
namespace DataLoadingTemplate {
/// <summary>
/// A dummy class to keep in a separate file to instantiate the
/// worker IOperationSlave implementation class.
/// </summary>
public class SlaveReference {
public SlaveReference() { }
/// <summary>
/// !!!MODIFY THIS FOR YOUR OWN IMPLEMENTATION!!!
/// </summary>
public IOperationSlave worker = new Operation.JAOperation();
}
}
And in my Project B I have this for example:
public class JAOperation : IOperationSlave
{
... all my process is here, including calls to some of our Abstract classes in Project C, loopes, whatever program logic here
}
So to clarify, you are saying copy the .pdb from Project B and C to Project A
thelonesoldier
the .pdb files are there arleady. Now what What about in VS 2003. What do I have todo exactly in the other projects If I run project A, then click start, nothing happens. So since I have the other projects open it should get to the breakpoints right is that it!
It says debug symbols aren't loaded in my other projects also...how do I fix that
all in all, this still isn't working!
C.Etter