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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:40:33+00:00 2026-05-23T19:40:33+00:00

I have a problem with a single C# project in a solution of 21

  • 0

I have a problem with a single C# project in a solution of 21 C# projects (ANY CPU).

Break points aren’t hit – and when I force the debugger to attach (Debugger.Launch()), I can see that the call stack shows the correct functions however the line numbers are very wrong.

In a concrete example, I have a break point in line 346 of 1020 lines – but the debugger navigates to line 10745 which results in the debugger showing results from a totally different file. From log files I can see that the correct methods are being executed.

After much headache I therefore chose to try on 2 different machines with VS 2010 SP1 installed – and these showed the exact same behavior.

I have already tried to do a full clean of the solution, manually delete all PDB files, restart VS, restart the machine, emptied the VS Symbol Cache (Tools > Options > Debugging > Symbols), removed all “Symbol file (.pdb) locations” and delete the solution’s “.SDF” database.

I am compiling the project in Debug mode, and have verified that “Optimize code” is not enabled on the project.

Break points in different projects in the solution does work – so it seems it is only this one project that for some reason generates a corrupt PDB file. However, I can’t really see why this single project should differ from the other projects. The only real difference is that I have 2 web references in this particular project – and funny enough it is in these stub classes that the PDB file always instructs the debugger to end up.

The particular solution is being compiled and debugged on a fully patched Windows 2003 x86 machine.

I would appreciate if anyone could give me a hint how to solve this problem.

  • 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-23T19:40:34+00:00Added an answer on May 23, 2026 at 7:40 pm

    Try right click on the project, go to the build tab->click advanced button->check output area->select debug info to pbd-only. Sometimes it changes.

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

Sidebar

Related Questions

I currently have a single solution with a single project and this generates executable
I'm not really sure if there is a single problem here or I have
I have a strange problem that is only happening in a single location. I
I've been working on a project which uses SPNEGO to have Single Sign On
I have a solution with a MVC Web Project, Infrastructure project, Services project and
It often happens that a single C# solution contains some projects that are x86-specific
today I have a (simple) rendering problem for you. My current project gets datas
I have a problem with the background compiler in Delphi7: in my project there
I have a solution in VS 2010: a WCF Service Library project (NotifyService) and
I realized that I can have problems with single quotes in php arrays: <?php

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.