Debug a web site with a referenced project

J

Joe Kovac

Hi!

I have a solution with a web site (start project) and a project
reference, which offers some functions to the web site.
Intellisense works fine.
Though I can't debug into the referenced project, although the code is
integrated into the solution.
What's going wrong?

Thanks for your help

Joe
 
M

Michael Nemtsev, MVP

Hello Joe,

Which kind of app do u refer? web-service?
Do you have a source codes for that project?

If it's a stand-alone app like web-service and u have a source codes your
need to find the process where it runned and attach your VS debugger to that
process to start debuggin it

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


JK> Hi!
JK>
JK> I have a solution with a web site (start project) and a project
JK> reference, which offers some functions to the web site.
JK> Intellisense works fine.
JK> Though I can't debug into the referenced project, although the code
JK> is
JK> integrated into the solution.
JK> What's going wrong?
JK> Thanks for your help
JK>
JK> Joe
JK>
 
J

Joe Kovac

Hi Michael,

no, it is a Web Site (ASP.Net pages).
I meanwhile found out that I can call static functions from referenced
projects in general, but within a special aspx page at one position I
can not debug into. I can debug into a normal "helloWorld" function of
another class, but not into the one of the other class where I want to.

I might give up the debugging and fix the error blindly which is not
really what I want...

Regards,

Joe
 
R

RB

Peter said:
I really don't use Web Site project model at all anymore, but with the Web
Application Project model, as long as you have a project reference and
everything is built in debug mode, you should be able to debug through from
one project to the next with no issues.
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com

If you have the reference set as the compiled DLL, rather than the
project in the solution, it won't let you step into the code (I think it
brings the Object Browser up instead).

The way to get round this is to remove the old reference and re-add it

References -> Add Reference -> Select "Projects" tab -> Select relevant
project -> Click Select -> Click OK.

Not sure if that's your problem, but it worked for me :)

Cheers,

RB.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top