Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8386613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:59:21+00:00 2026-06-09T17:59:21+00:00

I am using Microsoft Visual Studio 2010 Professional and developing an asp.net / C#

  • 0

I am using Microsoft Visual Studio 2010 Professional and developing an asp.net / C# app.
While in debug mode I can see the local variables under the “Locals” tab, and there is also something called “this” which expands into multiple tree structures.
However, I am unable to find my Session variables name / value pair anywhere.

A friend suggested I use the “Immediate Window” tab and type the name of my Session variable (ie.,Session[“SomeValue”] and press enter. This does give me the value of the Session variable. This is simple enough for a single session variable but when dealing with multiple variables it becomes a bit cumbersome.

Is there anyway that I can just browse to a section that stores the key / value pair for all my session variables, like I can for the local variables?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:59:23+00:00Added an answer on June 9, 2026 at 5:59 pm

    There might be a more elegant way, but if I recall you can dump out Session name/value pairs when tracing is enabled.

    • enable tracing
    • execute a page
    • trace info is either appended to the bottom, or available at ~/Trace.axd

    In web.config

    <configuration>
      <system.web>
        <trace enabled="true" requestLimit="40" pageOutput="true|false" />
      </system.web>
    </configuration>
    

    http://msdn.microsoft.com/en-us/library/bb386420.aspx

    Of course, this is only useful when there is a meaningful string representation of the object.

    You could also look at writing a custom visualizer (I believe that’s the correct term) that lets you inspect a type using your own custom functionality. I’ve seen this done for inspecting dynamic methods and it is quite useful, though I imagine it would be some effort to write one.

    • How to create a Visual-Studio string visualizer?
    • http://msdn.microsoft.com/en-us/library/e2zc529c.aspx
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to debug .NET Framework's source code using Visual Studio 2010 Professional. I
Using Microsoft Visual Studio 2010: Can I write this type of macro in C?
Using: Microsoft SQL Server 2008 Microsoft Visual Studio 2010 C# .NET 4.0 WinForms Ok
I am using Microsoft Visual Studio Professional 2010. (Also SQL Management Studio for my
i am using microsoft visual studio 2010 professional for my project and involves using
I have created a program in Visual Basic using Microsoft Visual Studio 2010 Professional.
I'm trying to debug MVC source code in Visual Studio 2010 using the Microsoft
With Microsoft HPC Pack 2008 R2 installed and using Visual studio 2010 professional, I
I am using Microsoft Visual Studio debugger to debug a remote application. These are
I'm using Microsoft Visual Studio 2010. When I add files to my project, they

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.