Is Viewstate info listed in the VS.NET 2005 debugger

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Apologies for what's probably a pretty dumb question, but:

Can Viewstate variables be viewed using the VS.NET debugger? Where does this
information appear?

thanks,
-KF
 
KF,
If you have a ViewState assignment statement, for example like:

ViewState["test"] = "123123123";

you can set a breakpoint, hover your mouse over the ViewState object, and
drill down into the debugger visualizer to see values.
Peter
 
Perfect, thank you.

-KF

Peter Bromberg said:
KF,
If you have a ViewState assignment statement, for example like:

ViewState["test"] = "123123123";

you can set a breakpoint, hover your mouse over the ViewState object, and
drill down into the debugger visualizer to see values.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




Apologies for what's probably a pretty dumb question, but:

Can Viewstate variables be viewed using the VS.NET debugger? Where does
this
information appear?

thanks,
-KF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top