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 6330173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:49:23+00:00 2026-05-24T17:49:23+00:00

When you debug your program, and for example you set a breakpoint as in

  • 0

When you debug your program, and for example you set a breakpoint as in here:

void foo(string s)
{
  (*) if (s=="bar")
  ...
}

(*) denotes breakpoint

you can move mouse cursor over “s” and inspect the content of it.

The question is how to do the same (i.e. inspect object) but not any argument or variable, but “this” object?

My case: I get exception at some point, I trace call stack, and let’s say I would like to inspect “this” object of the 4th method of the call stack (for example).

  • 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-05-24T17:49:24+00:00Added an answer on May 24, 2026 at 5:49 pm
    1. Quick Watch Window

      • Right click in any place of window
      • In menu select “Quick Watch”
      • In text field enter this
      • Press OK
    2. Add Watch Window

      • Visual Studio menu -> Debug -> Windows -> Watch -> Watch 1
      • In opened Watch WIndow type in Name field this and press Enter
    3. Immediate Window

      • Visual Studio menu -> Debug -> Windows -> Immediate Window
      • Type this and press Enter
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do you debug your SharePoint 2007 code? Since SharePoint runs on a remote
Hitting debug will deploy the application to \program files\AppNamespace\AppName.exe and attach to it. However,
I do not understand the documentation for gprof regarding how to compile your program
I am populating combo box from database. In debug i can see that the
When I debug an OSX application from XCode, I can communicate with the application's
I am trying to debug a program running on a remote solaris machine. I
When I try to debug my C++ application I get the error The program
I've written a small program but the answer it gives is always wrong, here
Your basic SP with a default parameter: ALTER PROCEDURE [usp_debug_fails] @DATA_DT_ID AS int =
Debug HTTP is easy, you have all sort of tools to do it (like

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.