Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

Debug a web site with a referenced project

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joe Kovac - 09 Oct 2007 10:03 GMT
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
Michael Nemtsev, MVP - 09 Oct 2007 10:50 GMT
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>
Joe Kovac - 09 Oct 2007 11:12 GMT
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

Michael Nemtsev wrote:
> Hello Joe,
>
[quoted text clipped - 21 lines]
> JK> JK> Joe
> JK>
Peter Bromberg [C# MVP] - 09 Oct 2007 12:51 GMT
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

> Hi!
>
[quoted text clipped - 8 lines]
>
> Joe
RB - 09 Oct 2007 13:08 GMT
> 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
[quoted text clipped - 18 lines]
>>
>> Joe

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.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.