• Answers
  • Web
Originated from
Advanced .NET Debugging

How do I debug a web form with a querystring

How do I debug a web form with a querystring


Share Send to a friend Watch Report
 
 

Posted Answers

 
207 helpful answers

They're coming to take me away, Ha-haaa!

Advanced .NET Debugging Blog

My personal blog

What do you mean by debugging a web form with a query string?

If you are using Visual Studio, you can simply debug the form and use "QuickWatch" to see the content of Request.QueryString.

If you want to debug it in WinDbg, you need to know how to place a breakpoint in managed code. In your case, you need to find your page's class and put the break point on the Page_Load function.

When you hit the break point run:

dumpheap -type HttpRequest

it should find the the HttpRequest instance. Then you should run:

!dumpobj XXXX

Where XXXX is the address of the HttpRequest instance.

You should see the QueryString collection member there which you can also see using !dumpobj.

 

Is this what you were asking for? 

Posted 2007-10-14T08:42:27Z
Eran was invited by Yedda to answer this question.

Sign in to participate

Got an answer for jnegron215? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

Tree View ASP.Net 2.0

How to use Tree View in ASP.net 2.0
Submitted by leemus   2 years ago.
  • viewed 1741 times
Last answer posted 2 years ago by profitbob


Q:

Who uses asp.net

is there any major site that uses asp.net or asp.net 2.0? i mean someone like yahoo,ebay,google, digg, anyone...?
Submitted by navotvolk   3 years ago.
  • viewed 1299 times
Last answer posted 2 months ago by Shreeram


Q:

Saving data in the client side (using asp.net hidden fileds)

I'm programing in asp.net. When my page gets to the server side, I'm saving data in the client side (using asp.net hidden fields ...
Submitted by beytz   2 years ago.
  • viewed 2825 times
Last answer posted 1 year ago by Jacob



» More...

Explore Related Posts in Forums

Total Training for Microsoft ASP.NET 2.0 - Building Web Appl

Total Training for Microsoft ASP.NET 2.0 - Building Web Applications Learn how to: * Learn how Studio 2005. * Take full advantage of the rich set of ASP.NET 2.0 controls and the extensive .NET Total Training for Microsoft ASP.NET 2.0 - Building Web Applications Learn how to: * Learn how to efficiently layout, develop...

Friendly URLs for ASP.NET

Path /userid/123424/ How do you do this in ASP.NET? handler Add the querystring to the current context before the routing takes place. using (RequestContext requestContext) { // Add the querystring to the URL in the current context string queryString...

Request Object

The QueryString from within jscript... Thanks in advance I am trying to access in Javascript within an ASP.NET web page the Request Object. I am ; In any thoughts or am Is my syntax incorrect. I need to be able to > access the QueryString
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License