Re: Problem with debug watch with "empty" web project in solution
From: Brad (nospam_at_co.lane.or.us)
Date: 03/01/04
- Next message: Suresh: "RE: Event handling for dynamically generated controls"
- Previous message: luna: "popup date picker"
- Next in thread: Steven Cheng[MSFT]: "Re: Problem with debug watch with "empty" web project in solution"
- Maybe reply: Steven Cheng[MSFT]: "Re: Problem with debug watch with "empty" web project in solution"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 1 Mar 2004 08:54:54 -0800
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 "WebProject1" 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-schang@online.microsoft.com> wrote in message
news:x$B#YVQ$DHA.3692@cpmsftngxa06.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
>
- Next message: Suresh: "RE: Event handling for dynamically generated controls"
- Previous message: luna: "popup date picker"
- Next in thread: Steven Cheng[MSFT]: "Re: Problem with debug watch with "empty" web project in solution"
- Maybe reply: Steven Cheng[MSFT]: "Re: Problem with debug watch with "empty" web project in solution"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|