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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:52:33+00:00 2026-05-10T14:52:33+00:00

I want to debug an application in Visual Studio but I ONLY have the

  • 0

I want to debug an application in Visual Studio but I ONLY have the source code for 1 class. I only need to step through a single function in that file, but I don’t understand what I need to do it. I think the steps are normally something like this:

  1. Open a file in VS
  2. Load in the ‘symbols’ (.PDB file)
  3. Attach to the running process

I know how to do #1 and #3, but I don’t how to do #2 without the .PDB file. Is it possible to generate the .PDB file for this to make it work? Thanks!

  • 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. 2026-05-10T14:52:33+00:00Added an answer on May 10, 2026 at 2:52 pm

    You need *.pdb files (step 2 from your post) These files contain mapping between source code and compiled assembly. So your step are correct. If your source file has differences with original file, set check mark ‘Allow the source code to be different from the original version’ in BP’s properties dialog.

    Breakpoints and Tracepoints in Visual Studio

    If you don’t have PDB files you can try to decompile your project using Reflector.FileDisassembler or FileGenerator For Reflector. They you can recompile these files to get PDBs

    Also take a look at Deblector – debugging addin for Reflector.

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

Sidebar

Related Questions

I have developed a web application in Visual Studio 2008 and want to publish
I have Firefox set as my default browser, but I want to debug the
A C# desktop application (on the Visual Studio Express edition) worked, but then it
In Visual Studio 2010, I have a web application and a console application (actually
I want to debug an application in Linux. The application is created in C++.
I want to debug a windows C++ application I've written to see why it
When using Google Chrome, I want to debug some JavaScript code. How can I
I want to define some member variable and some code just in Debug Mode,
I need Virtual PC (VPC) for testing my Visual Studio 2008/2010 applications, and I
I have a directory and I want to allow users which are only logged

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.