Debugging problems, "No executable code is associated with this li

G

Guest

I am using VB.NET 2003, SP1. I've recently added a few files to my project.
When setting breakpoints in these files, I get the dreaded question-marked
breakpoint with a tooltip "The breakpoint will not currently be hit. No
executable code is associated with this line."

I have tried to delete entire bin and obj folders and rebuild, switch
between Release and Debug configurations, restarting .NET and the computer
(clear any debug caching?), and combinations of these in different orders to
no avail.

I CAN get the breakpoint to work correctly if I add a line of code to that
construct and rebuild. But other breakpoints in the file still fail to
operate. The only way I can get all breakpoints and full debug functionality
is to clear the "Enable Optimizations" checkbox! I have searched various
newsgroups and am coming up empty. Please Help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top