jdccr Posted June 9, 2005 Posted June 9, 2005 I'm working in Windows Forms of VB.NET 2003 with n-tiers and I lost constantly the ability to debug my projects. All my components (files .dll) are correctly registered in the GAC. All my projects have the option Debug in the combobox "Solution configuration" and I has tried all. Even I was to delete the directories "obj" and "bin" and build the projects but I don't get a good result. I discovered that if I build all my components I get the ability to debug again, but It's frustrating and tedious and I lost a lot time because I have a lot projects. I don't get messages or errors, simply I set the breakpoint and run the program but the program don't stop in the breakpoint. I need a urgent solution at this problem!!! Quote
ALEX_0077 Posted June 9, 2005 Posted June 9, 2005 Quick fix: at least untill a better solution comes up. Try using a MessageBox.Show() from entry point to the ending code to see if all code is being executed. Just in case. Quote Me = 49% Linux, 49% Windows, 2% Hot gas. ...Bite me. My Site: www.RedPierSystems.net -.net, php, AutoCAD VBA, Graphics Design
jdccr Posted June 9, 2005 Author Posted June 9, 2005 Messabox.Show works but no the breakpoint I writed the MessagaBox.Show in the entry point and I set the breakpoint. The messagebox display the message correctly, but VB.NET doesn't stop in the breakpoint. Quick fix: at least untill a better solution comes up. Try using a MessageBox.Show() from entry point to the ending code to see if all code is being executed. Just in case. Quote
Leaders snarfblam Posted June 9, 2005 Leaders Posted June 9, 2005 Do the breakpoint markers in the margin have a question mark in them? If so, this would indicate that due to come configuration, the program will not stop at that breakpoint. Quote [sIGPIC]e[/sIGPIC]
jdccr Posted June 9, 2005 Author Posted June 9, 2005 No No, the breakpoint markers don't have a question mark. Do the breakpoint markers in the margin have a question mark in them? If so' date=' this would indicate that due to come configuration, the program will not stop at that breakpoint.[/quote'] Quote
jmcilhinney Posted June 10, 2005 Posted June 10, 2005 See if this works as a temporary solution: right click on your project in the Solution Explorer and select Debug -> Start New Instance. Quote
jdccr Posted June 10, 2005 Author Posted June 10, 2005 I found a temporary solution I tried with Start New Instance but I don't get good result... I found a temporary solution at my problem, I discovered that if I set three breakpoints in the function/sub the program stops in the first breakpoint. If I set one or two breakpoints the program doesn't stop. See if this works as a temporary solution: right click on your project in the Solution Explorer and select Debug -> Start New Instance. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.