When debugging my current web project, in VS2003, I found I had lost the
ability to drill down on watch objects in the Watch Window; I could only
view the single value specific watch objects.
Here's what I discovered. In addition to my main web project and several
middle tier projects, I also added an "empty" web project in my solution
(Add - New Project - Empty Web Project). This empty web project is what is
causing the above problem. If I remove the empty project or alternately add
code so that something will compile in it then watch objects in debug work
correctly.
I created the "empty" project so my solution could include a "project" to
manage (add, delete, update from VS2003) items in root web folder which
contains all of my shared items, such as style sheets, images, client
script, etc.....but this project contains no .Net code (no assembly,
global.asax, aspx or bin.) I had also set my solution config so the Shared
project is not included in the builds ( I am not trying to debug anything
in the "empty" project)
Not sure if this is a bug or if I'm miss using VS so I thought I'd post this
to see what feedback I might get.
Thanks
Brad 7 2176
Hi Brad,
Thanks for posting in the community!
From your description, you have a solution which contains many projects one
ASP.NET web projects, some other component projects, also and empty project
which used to mapping the IIS sever's root folder and put some static
materials in it. HOwever, you found when F5 debug the project(ASP.NET
project, ?) the watcher didn't work correctly, you can't dill down a
complex instance to view its members . And this problem disappeared when
you remove the empty project, yes?
If there is anything I misunderstood, please feel free to let me know.
As for this problem, I've tested as you descibed on my side, I have an
existing ASP.NET web project, now I added a empty project as you mentioned
and it's url is the IIS'sever's root folder. I only put one css style sheet
in it. Then I starting F5 debug in the ASP.NET project as normal but it
seems that the problem dosen't occur. So would you please try out the
following steps:
1. Try creating a new solution and then add two projects , one ASP.NET and
another empty project as you mentioned . Then try test on it to see whether
the problem can be repro?
2. Try the step in #1 on some other machine which has VS2003 and IIS
installed to see whether the problem remains. If not, you may have a check
to see whether there're any differences .
Please try out the above steps and let me know if you have any updates.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Steven -
#1 per your instructions and reproduced problem. Removed the "empty" project
and debug worked correctly.
#2 per your instructions and reproduced problem on 4 different machines.
Removed the "empty" project and debug worked correctly.
Machine 1
VS2003 enterprise architect
OS win2003 standard server
Machine 2
VS2003 enterprise architect
OS win2003 standard server
Machine 3
VS2003 enterprise architect
OS XP Pro
Machine 4
VS2003 enterprise architect
OS XP Pro
- Brad
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:Mg******** ******@cpmsftng xa06.phx.gbl... Hi Brad,
Thanks for posting in the community! From your description, you have a solution which contains many projects
one ASP.NET web projects, some other component projects, also and empty
project which used to mapping the IIS sever's root folder and put some static materials in it. HOwever, you found when F5 debug the project(ASP.NET project, ?) the watcher didn't work correctly, you can't dill down a complex instance to view its members . And this problem disappeared when you remove the empty project, yes? If there is anything I misunderstood, please feel free to let me know.
As for this problem, I've tested as you descibed on my side, I have an existing ASP.NET web project, now I added a empty project as you mentioned and it's url is the IIS'sever's root folder. I only put one css style
sheet in it. Then I starting F5 debug in the ASP.NET project as normal but it seems that the problem dosen't occur. So would you please try out the following steps: 1. Try creating a new solution and then add two projects , one ASP.NET and another empty project as you mentioned . Then try test on it to see
whether the problem can be repro?
2. Try the step in #1 on some other machine which has VS2003 and IIS installed to see whether the problem remains. If not, you may have a check to see whether there're any differences .
Please try out the above steps and let me know if you have any updates. Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Brad,
Thanks for your followup and the test results you provided. Since the
problem you described is able to be repro on different envs. Would you
please attached a simple project(simple enought to repro the problem) and
the detailed steps to repro the problem. Thus, I'll try to have a further
troubleshoot on my side.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Steps to reproduce problem.
1) Start VS2003
2) Click Help - About Microsoft Development Environment.
Confirm you are using Visual Studio 7.1.3088 with Framework 1.1.4322
3) From the menu select
File - New Project
In the New Project dialog select - Visual Basic Projects -
ASP.NET Web Application
Accept the default name of WebApplication1
4) In the Solution Explorer, right click WebForm1.aspx and select to view
code (WebForm1.aspx should have be created as part of the project).
5) In the code view right click on the End Sub line of Page_Load as select
to Insert Breakpoint.
6) Start the VS debugger - (from the menu) Debug - Start
7) When VS pauses at the break point click on the first line of the Watch
window. If the watch window is not displayed, from the menu Debug -
Windows - Watch - Watch 1
In the first cell of the Watch 1 window enter "Request". You should see a
+ (plus sign) to the left of "Request". If you click on the + you should
be able to drill down on the Request object. This cofirms that drill down
works to this point. You can end the debug session.
8) From the menu select
File - New Project
In the New Project dialog select - Visual Basic Projects - Empty
Web Project
Make sure "Add to solution" is selected
Accept the default name of WebProject1
Your solution should now contain two projects: WebApplication1
and WebProject1
9) Repeat the debugging steps 6 and 7 (you should still have a breakpoint
on End Sub of Page_Load)
However, this time when you click on the + next to "Request" in the Watch 1
window there will be no drill down and the + sign will disappear.
To reconfirm this, remove Request from the Watch 1 window. Add it back in
as described in step 7. Again when you attempt to drill down by clicking on
+ the drill down will not work.
10) Remove the empty "WebProject 1" from the solution. Repeat steps 6 and 7.
The drill down on items in the Watch 1 window will now work again.
Note: It does not matter what object you attempt to watch, the results will
be the same.
Brad
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:x$******** ******@cpmsftng xa06.phx.gbl... Hi Brad,
Thanks for your followup and the test results you provided. Since the problem you described is able to be repro on different envs. Would you please attached a simple project(simple enought to repro the problem) and the detailed steps to repro the problem. Thus, I'll try to have a further troubleshoot on my side.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Brad,
Thanks for your further infos especially the repro steps. I've repro the
problem on my side. Currently, we are
finding proper resource to assist you and we will update as soon as posible.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security(This posting is provided "AS IS",
with no warranties, and confers no rights.)
Reposting this as it hasn't shown up on the newsgroup since original post on
2/27
Steps to reproduce problem.
1) Start VS2003
2) Click Help - About Microsoft Development Environment.
Confirm you are using Visual Studio 7.1.3088 with Framework 1.1.4322
3) From the menu select
File - New Project
In the New Project dialog select - Visual Basic Projects -
ASP.NET Web Application
Accept the default name of WebApplication1
4) In the Solution Explorer, right click WebForm1.aspx and select to view
code (WebForm1.aspx should have be created as part of the project).
5) In the code view right click on the End Sub line of Page_Load as select
to Insert Breakpoint.
6) Start the VS debugger - (from the menu) Debug - Start
7) When VS pauses at the break point click on the first line of the Watch
window. If the watch window is not displayed, from the menu Debug -
Windows - Watch - Watch 1
In the first cell of the Watch 1 window enter "Request". You should see a
+ (plus sign) to the left of "Request". If you click on the + you should
be able to drill down on the Request object. This cofirms that drill down
works to this point. You can end the debug session.
8) From the menu select
File - New Project
In the New Project dialog select - Visual Basic Projects - Empty
Web Project
Make sure "Add to solution" is selected
Accept the default name of WebProject1
Your solution should now contain two projects: WebApplication1
and WebProject1
9) Repeat the debugging steps 6 and 7 (you should still have a breakpoint
on End Sub of Page_Load)
However, this time when you click on the + next to "Request" in the Watch 1
window there will be no drill down and the + sign will disappear.
To reconfirm this, remove Request from the Watch 1 window. Add it back in
as described in step 7. Again when you attempt to drill down by clicking on
+ the drill down will not work.
10) Remove the empty "WebProject 1" from the solution. Repeat steps 6 and 7.
The drill down on items in the Watch 1 window will now work again.
Note: It does not matter what object you attempt to watch, the results will
be the same.
Brad
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:x$******** ******@cpmsftng xa06.phx.gbl... Hi Brad,
Thanks for your followup and the test results you provided. Since the problem you described is able to be repro on different envs. Would you please attached a simple project(simple enought to repro the problem) and the detailed steps to repro the problem. Thus, I'll try to have a further troubleshoot on my side.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Brad,
After further testing, we acknowledge this is appears to be a bug and we
will try to get it fixed in a future service pack. Also I'm sorry for any
inconvenience bring to you. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Klaus Petersen |
last post by:
Hi ng.
I have a varchar field in my table, called Name.
I wanna do a selection, which is ordered by whether this field is empty or
not.
E.g. something like:
SELECT
|
by: Marcin Dobrucki |
last post by:
I've been having some problems with a parse error that I can't figure
out (PHP 4.3.11 on Solaris9). Sample code:
<?php
// getting strange parse errors on this
class A {
var $value;
function A() {
$this->value = 1;
}
|
by: Georges Heinesch |
last post by:
Hi.
This question might seem trivial, but I didn't find any solution.
By error, I created some event for a subform (subfrmTest). Hence, an
entry in the VBA editor list was made (Form_subfrmTest) and some code
was inserted to it. So I deleted the code, but the entry in the VBA
editor remained (Form_subfrmTest). I didn't find any mean to delete it.
As I said already, the subform doesn't contain any code (any more).
|
by: Lyn |
last post by:
I am trying to get my head around the concept of default, special or empty
values that appear in Access VBA, depending on data type. The Access Help
is not much (help), and the manual that I have is not much help here either.
Googling has given me a little help.
This is my current understanding -- I would appreciate any comments or
corrections...
"" -- this means an empty string when applied to String data type, and also
to Variant...
|
by: Shan Plourde |
last post by:
Hi everyone,
I have been using various regular expressions with the ASP.NET
RegularExpressionValidator for quite some time. In general it works
very well. One of the common regex's that I use follows:
ValidationExpression = "^\d{0,3}(\.\d{0,4})?$"
The purpose of this one is to validate that numeric values input
follow the syntax 999.9999. This works well. But, one thing that I
have never tested previously (which has now been uncovered...
| |
by: mcbobin |
last post by:
Hi,
Here's hoping someone can help...
I'm using a stored procedure to return a single row of data ie a
DataRow
e.g.
public static DataRow GetManualDailySplits(string prmLocationID, string
|
by: Xh |
last post by:
Hi All,
I have problems with generating valid HTML output
there are few HTML elements that i don't what to output as <tagname/>
but as <tagname></tagnamebut Xalan keeps generating them as
<tagname/>
there are few really annoying situations where adding to some
HTML elements is necessary:
|
by: kang jia |
last post by:
hi
currently i am getting an array from database,the code is in the following, if id do not exist variable b will render an empty array. at this time, i would like to check if this array is empty means the id is not exist in my Booking1 table. How should i express this " if empty " concept in python?
def confirmUp(request):
q=request.session
b=Booking1.objects.filter(id__exact=q)
if b=empty
|
by: \(O\)enone |
last post by:
I've added a TabControl to my WinForms app, and added a couple of tabs to
the control.
The result is that the top strip of the TabControl contains the two tabs,
and then to the right of them is an empty area, above the tab content:
/ Tab 1 caption \ / Tab 2 caption \ XXXX empty space XXXX
|
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...
|
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...
| |
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,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |