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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:08:14+00:00 2026-06-06T01:08:14+00:00

I am trying to understand what the ‘Attach to process’ is useful for in

  • 0

I am trying to understand what the ‘Attach to process’ is useful for in Visual Studio. I am looking for a memory leak and I am finding WinDBG quite difficult to use to say the least. I realize there are other commercial alternatives like ANT Profiler.

What is ‘attach to process’ used for specifically? I have searched online and have found plenty of documentation explaining what to select in Visual studio and how to use macros with this feature, but no documentation explaining what this is useful for specifically.

UPDATE 19/06/2012 at 19:40 GMT
I have managed to attach the Visual Studio debugger to a process running (small VB.NET program). However, I have noticed that the PDB files don’t seem to be needed i.e. I can add breakpoints and step through the code without them. Are the PDB files needed when attaching to a process in Visual Studio?

  • 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-06T01:08:15+00:00Added an answer on June 6, 2026 at 1:08 am

    If you are running an application in a different user context and need to debug it, you can attach to the process. This process can be local or remote.

    Essentially it is used to debug an already running process.

    Note: You do need to have the source code for this process in Visual Studio (or have a symbol server that Visual Studio can use that points to the same executable).

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

Sidebar

Related Questions

Trying to understand this binding process of the WPF. See the code at the
Im trying to understand the various definitions, other students do not quite agree with
Trying to understand the options for will_paginate's paginate method: :page — REQUIRED, but defaults
Trying to understand Ruby a bit better, I ran into this code surfing the
Trying to understand something. I created a d:\svn\repository on my server. I committed folders
Trying to understand the math of this code snippet. A token is provided which
I trying to understand if a isset is required during form processing when i
Just trying to understand that - I have never used it before. How is
Been trying to understand shared pointer for a few days now and it feels
I am trying to understand how encrypted (password protected) Office 2007 documents are bundled

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.