breakpoint will not currently be hit

B

BillE

Hi
I'm developing a VB.NET 2008, windows forms application.

I don't know why, but today I started getting this message when I set a breakpoint:

"The breakpoint will not currently be hit. The source code is different from the original version"

I googled this, and found many suggestions that I should try Build --> Clean Solution.

I did this, and rebooted the computer.

Now, when I load the project, I get

"Microsoft (R) Visual Basic compiler has encountered a problem and needs to close."

They are sorry for the inconvenience, so that makes me feel better, but I still have a problem in that I can't work on my project.

This error is followed by

"Visual basic compiler is unable to recover from the following error: &Hc 0000005& (Visual basic internal compiler error)"

I would appreciate any help in resolving this problem.

Thanks
Bill
 
C

Cowboy \(Gregory A. Beamer\)

Is this ASP.NET?

If so, clear the ASP.NET temporary files as they can cause all sorts of damage, especially when you "circumvent" them to clean up your system. I assume you are on SP1? There is a connet issue you might append to:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=384872&wa=wsignin1.0

There is also an issue in SP1 with ASPX:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=383425&wa=wsignin1.0

It was closed as non-repro.

There is one that is interesting, as it suggests a reason why VB compiler might crash. The user had a variable named Version in his ASPX. The suggestions for finding the issue (creating a proper dump file) are found in the connect issue:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=339473&wa=wsignin1.0

BTW, connect is a great way to solve what appear to be or are bugs in the product. I would not use it for "how do I" questions (leave them here).

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*********************************************
| Think outside the box |
*********************************************
Hi
I'm developing a VB.NET 2008, windows forms application.

I don't know why, but today I started getting this message when I set a breakpoint:

"The breakpoint will not currently be hit. The source code is different from the original version"

I googled this, and found many suggestions that I should try Build --> Clean Solution.

I did this, and rebooted the computer.

Now, when I load the project, I get

"Microsoft (R) Visual Basic compiler has encountered a problem and needs to close."

They are sorry for the inconvenience, so that makes me feel better, but I still have a problem in that I can't work on my project.

This error is followed by

"Visual basic compiler is unable to recover from the following error: &Hc 0000005& (Visual basic internal compiler error)"

I would appreciate any help in resolving this problem.

Thanks
Bill
 
B

BillE

Thanks - this is actually a windows forms project. It stopped the compiler error, fortunately.

The solution actually has several projects - I can set a breakpoint in the startup project and it gets hit.

The startup project sometimes opens a form in another project in the solution. If I set a breakpoint in the form_load event of the form in the second project, the breakpoint is not hit. It previously was hit; I don't know what I did to change this.

Thanks
Bill

Is this ASP.NET?

If so, clear the ASP.NET temporary files as they can cause all sorts of damage, especially when you "circumvent" them to clean up your system. I assume you are on SP1? There is a connet issue you might append to:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=384872&wa=wsignin1.0

There is also an issue in SP1 with ASPX:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=383425&wa=wsignin1.0

It was closed as non-repro.

There is one that is interesting, as it suggests a reason why VB compiler might crash. The user had a variable named Version in his ASPX. The suggestions for finding the issue (creating a proper dump file) are found in the connect issue:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=339473&wa=wsignin1.0

BTW, connect is a great way to solve what appear to be or are bugs in the product. I would not use it for "how do I" questions (leave them here).

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*********************************************
| Think outside the box |
*********************************************
Hi
I'm developing a VB.NET 2008, windows forms application.

I don't know why, but today I started getting this message when I set a breakpoint:

"The breakpoint will not currently be hit. The source code is different from the original version"

I googled this, and found many suggestions that I should try Build --> Clean Solution.

I did this, and rebooted the computer.

Now, when I load the project, I get

"Microsoft (R) Visual Basic compiler has encountered a problem and needs to close."

They are sorry for the inconvenience, so that makes me feel better, but I still have a problem in that I can't work on my project.

This error is followed by

"Visual basic compiler is unable to recover from the following error: &Hc 0000005& (Visual basic internal compiler error)"

I would appreciate any help in resolving this problem.

Thanks
Bill
 
B

BillE

i noticed recent windows updates including .NET Framework updates had been installed the day i started having problems. I uninstalled all ..NET frameworks and reinstalled 3.5, and the problem seems to have gone away.

Thanks - this is actually a windows forms project. It stopped the compiler error, fortunately.

The solution actually has several projects - I can set a breakpoint in the startup project and it gets hit.

The startup project sometimes opens a form in another project in the solution. If I set a breakpoint in the form_load event of the form in the second project, the breakpoint is not hit. It previously was hit; I don't know what I did to change this.

Thanks
Bill

Is this ASP.NET?

If so, clear the ASP.NET temporary files as they can cause all sorts of damage, especially when you "circumvent" them to clean up your system. I assume you are on SP1? There is a connet issue you might append to:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=384872&wa=wsignin1.0

There is also an issue in SP1 with ASPX:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=383425&wa=wsignin1.0

It was closed as non-repro.

There is one that is interesting, as it suggests a reason why VB compiler might crash. The user had a variable named Version in his ASPX. The suggestions for finding the issue (creating a proper dump file) are found in the connect issue:
https://connect.microsoft.com/Visua...Feedback.aspx?FeedbackID=339473&wa=wsignin1.0

BTW, connect is a great way to solve what appear to be or are bugs in the product. I would not use it for "how do I" questions (leave them here).

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Blog:
http://feeds.feedburner.com/GregoryBeamer

*********************************************
| Think outside the box |
*********************************************
Hi
I'm developing a VB.NET 2008, windows forms application.

I don't know why, but today I started getting this message when I set a breakpoint:

"The breakpoint will not currently be hit. The source code is different from the original version"

I googled this, and found many suggestions that I should try Build --> Clean Solution.

I did this, and rebooted the computer.

Now, when I load the project, I get

"Microsoft (R) Visual Basic compiler has encountered a problem and needs to close."

They are sorry for the inconvenience, so that makes me feel better, but I still have a problem in that I can't work on my project.

This error is followed by

"Visual basic compiler is unable to recover from the following error: &Hc 0000005& (Visual basic internal compiler error)"

I would appreciate any help in resolving this problem.

Thanks
Bill
 

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