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

  • Home
  • SEARCH
  • 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 6069617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:50:30+00:00 2026-05-23T09:50:30+00:00

Sometimes I need to keep track of several lines of code where variable values

  • 0

Sometimes I need to keep track of several lines of code where variable values change on the object I am interested in. When the object changes, I need to compare the variables to see what is happening, and whether it is different than expected values. This is similar to a watch window, but one that can be saved and shows the code along with it. In the watch window, you can have a bunch of variable names in order of last added (which can’t be changed easily!?) with no code to show where they came from.

Currently, I am typing everything in notepad++. So, is there anyway to capture a snapshot of a few lines of code which includes the variable values?

  • 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-23T09:50:30+00:00Added an answer on May 23, 2026 at 9:50 am

    Make a screenshot of your desktop when variables change. You’ll have the code (you can select the exact code to further enhance), and the variables as a visual snapshot. The variables that just changed will also as you know be indicated with red color.

    You can also resize the window smaller if you can fit all info you need, and then use shift+printscreen to make more compact snapshots.

    When you have your collection of snapshots just scroll through them with a viewer and you should have a pretty neat snapshot-debug-stepping-thingy.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sometimes I need to add several updates to my site. To keep it clean
I sometimes need to look for information for a special portion of code. When
Sometimes, I need some functor-helper to manipulate list. I try to keep the scope
I sometimes need to use Visual Studio when I have limited screen real estate
I sometimes need to debug JS in other browsers, and it would be really
I sometimes need to run gacutil.exe or installutil.exe, etc. from the command line. Is
In my app I sometimes need to rebuild and repopulate database file. SQLite databse
If i iterate over a STL container i sometimes need to know if the
In the form designer, I sometimes need to see the type of a property,
Sometimes I need to quickly extract some arbitrary data from XML files to put

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.