Step-by-Step execution in vb.net jumps over new program lines, as if no editing has occcured

Suddenly in my program changes I make, like commenting out a whole procedure or inserting a new program line are not recognized and when I do a step-by-step execution it just jumps over the new program lines or uses even procedures after they have been commented out...... so as if no editing has taken place
KiranNowAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

platinumbayCommented:
Did you rebuild the project?  If you are using the Edit-And-Continue function, you can edit, but it won't use those lines until you rebuild the project.
0
KiranNowAuthor Commented:
Edit and Continue applies to C/C++ programs only and I am using VB


its as simple as this: I put in a new line let's say R=0 then set a breakpoint right after that line and compile in the watch window I see that R is not set to 0.

Or even more misterious...... I comment out a central procedure of my application and then press the compile button..... the application runs as if I had still the procedure available.... that means all output values from this procedure are generated corrrecly..... it only creates a compile error message that the name of this procedure is not defined....

thats obvious but why does the procedure never the less function?

Also if  move the procedure to another location in the class and then do a step-by-step execution, when the procedure is called the step-by-step execution will jump to where the procedure was previously in the modul and not where it is now
0
eekjCommented:
save your project source code, delete the binary and then re-compile it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

platinumbayCommented:
I use Edit and Continue in VB.NET all the time, check your options.

Tools >> Options
Debugging >> Edit and Continue
Check the box for "Allow me to edit VB files while debugging"
0
KiranNowAuthor Commented:
thank you platinumbay for your help, you are right the Edit-and-continue option is actually also available for VB...... different then what the help is saying
however it did not solve my problem because those strange efffects persisted even when completely closing the IDE, and rebuilding the solution

only after following eeky's advice to actually delete all bin-files I can again work as normal...... very strange....



thank you eekj  a lot I was hold up with this for several hours
0
platinumbayCommented:
cool beans
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.