Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug: Step through 2 solutions? 1

Status
Not open for further replies.

Garreth21

Programmer
May 19, 2005
29
Hey everyone,

Is it possible jump from one solution to another when debugging?

I have a code that has a reference to a class in another solution, the class is throwing an exception but i'm unable to figure out how to step through the code.

I'm using VS 2003 Pro if it makes any difference. I used to be able to do this in VB6 but i'm unsure how to go about it now.

thanks in advance
 
You could add the other projects to your first solution cant you?
 
right click on your solution and select (Add Exisiting Project)

Then you can open that project and slap in some debug points.
 
Thanks for the replies.

I did as you suggested. Yet I am still unable to debug. I get the error message "no symbols have been loaded for this document"

I've tried adding the source and symbol paths the the solution but to no avail. Tried changing the startup object to the app form that calls the dll. Still nothing. I've deleted the binaries. I'm not sure what else to do really.
 
Did you go to Project -> Add References -> Projects (Tab) -> SelectYour Project?

Don't reference the DLL, reference the project.
 
The Dll was being referenced. I changed it to the project, but it still won't load the symbols.
 
Sometimes - the best thing you can do - it smack it with a bat.

Maybe try adding a new project into your solution, and just add the classes manually. Set the project to compile as a dll, and add a reference to the new project.

It sounds to me like some kind of project configuration issue.
 
Okay I'll try that. Thanks for the help JurkMonkey.
 
Was the other project built in a debug configuration?
Does your reference point to the debug dll, and not the release dll?

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top