[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 200
  • Last Modified:

Problem Debugging

All of a sudden, out of nowhere, I am now getting a question mark on my breakpoints when I run my VB.Net project.  When I highlight the question mark I get "the breakpoint will not be hit .No symbols have been loaded for this document ".

I cannot debug my project.  It goes beyond any breakpoint.

I am in DEBUG mode.  The breakpoints are on valid lines.


Here are the settings in the project file:
 <Config
                    Name = "Debug"
                    BaseAddress = "285212672"
                    ConfigurationOverrideFile = ""
                    DefineConstants = ""
                    DefineDebug = "true"
                    DefineTrace = "true"
                    DebugSymbols = "true"
                    IncrementalBuild = "true"
                    Optimize = "false"
                    OutputPath = "bin\"
                    RegisterForComInterop = "false"
                    RemoveIntegerChecks = "false"
                    TreatWarningsAsErrors = "false"
                    WarningLevel = "1"
                />


Can anyone please let me know how I fix this?  I understand it has something to do withthe .pdb files in the debug folder.  I am ot getting .pdb files for this particular form.

Any help would be greatly appreciated.
0
RichW
Asked:
RichW
  • 6
  • 2
  • 2
  • +1
1 Solution
 
RonaldBiemansCommented:
Just a check, in your project properties if you look at configuration properties and than in the build options

what is under output path

and is generate debugging information checked ?
0
 
RonaldBiemansCommented:
Also does your program use any external objects ?
0
 
RichWAuthor Commented:
Output path is \bin

Generate Debug info is checked.

No external objects.

This project is a dll project.  This does not happen on any of my other projects.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
TorrwinCommented:
The way that I fix this is to create a new project, and then add all of your existing files into the new project.  This works pretty well.
0
 
RichWAuthor Commented:
Torrwin, it didn't work.

RichW
0
 
ptakjaCommented:
try deleting the \obj directory AND the contents of your \bin directory. Then rebuild. Sometimes junk gets left over in those directories that can screw things up.
0
 
RichWAuthor Commented:
Yeah, I already deleted the debug files.  Still have the same problem.

It's weird that this is the only project it happens too.  None of my other projects have this problem.

RichW
0
 
ptakjaCommented:
Have you tried opening the project on another development PC? In other words, is this problem isolated to your PC or does it happen when anyone uses the project?
0
 
RichWAuthor Commented:
ptakja, I'm setting things up to try your suggestion today, and I will let you know how it works out.

RichW
0
 
RichWAuthor Commented:
ptakja, developer at work got the same problem when I sent him the files.

RichW
0
 
RichWAuthor Commented:
>>>>Have you tried opening the project on another development PC? In other words, is this problem isolated to your PC or does it happen when anyone uses the project?


ptakja, your suggestion helped me to discover that the problem was in the way my project was being referenced that caused the debug to shut down.  

Thanks

RichW
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now