PC Review


Reply
Thread Tools Rate Thread

Debug a web site with a referenced project

 
 
Joe Kovac
Guest
Posts: n/a
 
      9th Oct 2007
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
 
Reply With Quote
 
 
 
 
Michael Nemtsev, MVP
Guest
Posts: n/a
 
      9th Oct 2007
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>


 
Reply With Quote
 
Joe Kovac
Guest
Posts: n/a
 
      9th Oct 2007
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,
>
> 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>
>




 
Reply With Quote
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      9th Oct 2007
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



"Joe Kovac" wrote:

> 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
>

 
Reply With Quote
 
RB
Guest
Posts: n/a
 
      9th Oct 2007
Peter Bromberg [C# MVP] wrote:
> 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
>
>
>
> "Joe Kovac" wrote:
>
>> 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
>>


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.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using an app.config of a referenced project TS Microsoft ASP .NET 6 22nd Jun 2007 02:14 AM
'<name>' is declared in project '<projectname1>', which is not referenced by project '<projectname2>' noreponse1@gmail.com Microsoft Dot NET 3 9th Mar 2006 09:05 AM
Lost ability to step into referenced DLLs via Debug mode?? Rob R. Ainscough Microsoft Dot NET 1 5th Dec 2005 02:05 AM
Unable to load debug symbols for a referenced assembly glaserp@sustainsoft.com Microsoft Dot NET 1 20th Jun 2005 02:01 PM
Local (debug) Project and Remote (deployment) Project DKode Microsoft Dot NET 0 19th Apr 2004 02:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 PM.