Is Viewstate info listed in the VS.NET 2005 debugger

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
 
G

Guest

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
 
G

Guest

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top