Re: Problem with debug watch with "empty" web project in solution

From: Brad (nospam_at_co.lane.or.us)
Date: 02/27/04


Date: Fri, 27 Feb 2004 11:16:40 -0800

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
>



Relevant Pages

  • Re: Problem with debug watch with "empty" web project in solution
    ... When VS pauses at the break point click on the first line of the Watch ... If the watch window is not displayed, ... In the first cell of the Watch 1 window enter "Request". ... be able to drill down on the Request object. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Application.screenupdating always True?
    ... Application.Screenupdating can have no effect while single stepping - each step releases control to the OS, which will refresh every application window - and it is, in effect, True at every breakpoint. ... It seems possible that the Watch Window might be reflecting this - if you set a break on change it does break, and then breaks again after the next statement so it seems as though it might be getting a little confused. ... I wrote a test routine that set Screenupdating to false and then retested it then back to true 100 times - no break occurred; the question is essentially: if someone else has code that sets screenupdating to false and looks at the value in the watch pane while single stepping, do they see the value become false? ... Instead I try to use the Range object ...
    (microsoft.public.word.vba.general)
  • Re: Molding a saddle out of epoxy
    ... >> could watch the dentist and see what he sees...like on a TV monitor. ... >He popped off the crown and removed the damaged adhesive around/under the ... >He didn't use a drill for this part...he used an ultrasonic drill that broke ... dentistry was just becoming known, there was a story where a family ...
    (rec.music.makers.guitar.acoustic)
  • Re: Andersen 400 Series Security contacts
    ... is during framing) I drill the hole, then close the window and latch it. ... I don't drill any of these windows for magnets anymore - I ... to make a tiny tic mark on the sash and the window sill. ...
    (alt.security.alarms)
  • RE: debugger IDE hangs when stepping with properties in watch wind
    ... Thanks - but as I'm typically changing context with each step (from one ... adding and then removing items from the watch ... window before each step isn't really very helpful - basically, ... > watch window, it will cost debugger much time to resolve these variables, ...
    (microsoft.public.vsnet.debugging)