473,804 Members | 3,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debug a web site with a referenced project

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
Oct 9 '07 #1
4 1681
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
JKHi!
JK>
JKI have a solution with a web site (start project) and a project
JKreference, which offers some functions to the web site.
JKIntellisense works fine.
JKThough I can't debug into the referenced project, although the code
JKis
JKintegrated into the solution.
JKWhat's going wrong?
JKThanks for your help
JK>
JKJoe
JK>
Oct 9 '07 #2
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

JKHi!
JKJKI have a solution with a web site (start project) and a project
JKreference, which offers some functions to the web site.
JKIntellisense works fine.
JKThough I can't debug into the referenced project, although the code
JKis
JKintegrated into the solution.
JKWhat's going wrong?
JKThanks for your help
JKJKJoe
JK>


Oct 9 '07 #3
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
Oct 9 '07 #4
RB
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.
Oct 9 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3197
by: VM | last post by:
When I'm adding a reference to another project that is built as one of the Projects in the Solution, should I add the dll in Debug or the one in Release? I usually also do a batch build of everything (Release and Debug) so I don't know if that would be a factor. The reason I'm asking is that one of the projects that I'm adding to another project as reference is not recognizing any of the new changes (new methods) that I've made. I have to...
4
11146
by: Stephen Miller | last post by:
Hi, I am running v1.1.4322 on Win2K server and unable to debug a ASP.Net application running locally, using a full URL (ie www.mysite.com). When I hit F5, I get the following error message: <debugger_error_message> Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
10
4898
by: Scott | last post by:
I have a simple asp.net app which works fine in debug mode, but crashes on the following line when I run it on the production server: Dim dt As DataTable I have tried the following variations which produce the same result: Dim dt As System.Data.DataTable Dim dt As DataTable = New DataTable The error message reads: System.NullReferenceException: Object reference
5
2527
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant applications. I am testing an upgrade of all of the sites and have converted the main root site...although not necessarily fixed any issues. I move on instead and converted one of the virtual roots that is a seperate
1
1995
by: Epetruk | last post by:
Hello, In VS2003, I used to have two solutions - a debug and release solution. Each solution had a webservice project and several other class library projects. The webservice project referenced all the other class library projects (i.e. so that it used the dll created when those other projects were built). The debug solution was configured so that all the projects in it had debug
2
1195
by: Martin Hart | last post by:
Hi: I have a project that references some in-house assemblies, and in the 'debug' configuration I use the debug versions of these assemblies, but when I switch to the 'release' configuration, I want the solution to use the 'release' versions of the referenced assemblies. How should I go about this? TIA,
4
6254
by: nmrcarl | last post by:
I'm trying to upgrade a large project from VS 6.0 to VS 2005. After fixing a lot of things that changed (mostly sloppy coding in the original project that VS2005 didn't allow), I got the release version to build successfully. Unfortunately, it crashes right away when I start it. So now I need to build the debug version. Unfortunately, the compiler gives innumerable error messages of the sort shown below. The #include file referenced...
3
3780
by: Pete Kane | last post by:
Hello All, I'm having a problem debugging a project (contained in a solution containing eight other projects), whenever I set a breakpoint and press F5, the solution rebuilds itself ok but I then receive a dialog box stating "The following module was built either with optimizations enabled or without debug information" <name of errant module is hereTo debug this module, change its project build configuration to Debug mode. To suppress this...
6
2389
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form part of the solution have been referenced using the Projects tab in the Add Reference dialog. Assemblies that do not form part of the solution have been added usingthe
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10302
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.