Breakpoint doesn't hit
-
Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.
-
Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.
Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
-
Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
In addition to that, does the application has debug=true?
Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
-
Hi all, I have set a breakpoint in the page_Load event of the Statrtup page of the website.But is is not hitting while runnong the project.What may the reason,Can anybody suggest me the reason and how can i solve it. THank in advance.
You need to Restart Terminal Services, as Debugging uses Terminal Service.. This seem to you weird, but its the fact. Go to Run - > services.msc Right click on Terminal Service -> Restart (or Start). Now Run your application. I think it will fix the problem.:rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
Seems like your dev (Visual Studio) is not connected to the correct process. When you start debugging within your Visual Studio, use the browser window that opens. Do you use the embedded ASP.NET development server or the IIS to execute your website? Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
i just had the same problem this morning. tried couple of hours solving it. compilation debug = true, autoeventwireup = true...etc..etc.. nothing worked. i restart my pc, reset devsetting of visual studio, and all other things that comes up to my mind. still no luck. i am using windows vista. the solution? go to start menu, find the visual studio 2005, right click then click properties. in compatibility tab, check "Run this program as an administrator" that's it, i was going crazy this morning but the solution turned out to be really simple. hope this helps