Visual Studio 2008 Debugging Zombie Breakpoints Come Back After Being Deleted?

Jun 30, 2010

In Visual Studio 2008 while debugging an ASP.Net website I set a breakpoint in the codebehind page. I refresh the page or submit to call the method, the breakpoint is hit. Then I delete the breakpoint and continue execution. I make a change to the codebehind page and save it. I submit or refresh again and the deleted breakpoint is back! It is hit again, and I delete it again. I have tried delete, disable, nothing works it keeps coming back if I make a change to the page. It is extremely annoying and unproductive. The only way I have found to make the breakpoint permanently go away is to use the Debug menu Delete all breakpoints item, which is obviously less than ideal. I have been able to reproduce this on other developers machines also. What is going on here? Is this by design? Is it a bug in VS? How do I keep these zombie breakpoints from resurrecting?

View 4 Replies


Similar Messages:

Visual Studio :: Breakpoints Stopped Working During Debugging?

Sep 3, 2010

I had the strangest bug yesterday while trying to debug in vs.net 2005....

I had an '05 web application. I clicked the "Run" button to start debugging, and the webpage popped up fine. I could run through the pages fine. Everything seemed fine....UNTIL!

Until I tried to start inserting breakpoints into my code. The application ignored them. In addition, I noticed my little green visual studio "Start Debugging" arrow (which is normally greyed out while in debug mode) was green. It was as if visual studio completely detached itself from my website I was trying to debug.

After playing around with it for a while, I realized I also had a vs.net 2008 solution open as well. My '08 solution wasn't in debug mode or anything, it was just sitting there open. I just happened to close it, not thinking anything of it, and presto! My 2005 debugger started working again!

So basically, I can't debug an '05 solution (or at least a web solution, as that's all I tried) while I also have an '08 solution open.

View 2 Replies

Visual Studio :: Breakpoints Not Working In 2008: "No Symbols Have Been Loaded For This Document?

Oct 13, 2010

nfortunately, I can't get my breakpoints to work when in debug mode in Visual Studio 2008 (ASP.NET 3.5, Windows 7, IIS7). The website compiles and opens in debug mode, but the breakpoints themselves generate the following error message:"The breakpoint will not currently be hit. No symbols have been loaded for this document."There are some recommended solutions online, but for various reasons, either they haven't applied or I haven't been able to make them work. I've been trying to find the solution for about 12 hours now, and I'm getting desperate.(Note 1: This problem is specific to this website. I do have other websites that I open in VS2008 where the breakpoints work fine.)(Note 2: There is only one website/project associated with this problem. This website does not have multiple projects.)

View 1 Replies

How To Recover Deleted Files From Solution Explorer Of Visual Studio 2008

Jul 29, 2010

by mistake a .aspx and its corresponding .vb file was deleted from my project's solution explorer.Its not there in Recycle Bin too.Is there any method to recover that file ? I am using Visual Studio 2008. Win XP SP1.

View 6 Replies

Visual Studio :: How To Enable Debugging In Visual Studio 2008

Sep 7, 2010

I have upgraded a Visual Studio 2005 Web Site in a 32 bit server to Visual Studio 2008 maintaining the same 2.0 framework in a 64 bit server with Windows 2008 R2 Server. The Web Site has several class libraries.

After porting to Visual Studio 2008 2.0 Framework using the Upgrade Wizard, I found that I was unable to hit a break point in the Project code behind files while I was able to in the class libraries. The bin folder has the dlls and the corresponding pdb files for the class libraries. I did start the Web site as an Administrator and made sure whole bunch of IIS7 properties are properly set.

I tried to rebuild the solution as a Web Application in Visual Studio 2008 and gave up that approach as I faced hundreds of error messages pointing to missing references and namespaces inspite of adding whole lot of references and namespaces to the Web.

View 12 Replies

Visual Studio :: Debugging Web Application Using 2008?

Jan 14, 2010

I got a probem when debugging web application using VS 2008. Here is the situation:I marked two breakpoints, one in the Page_Load event and the other on the button click event. When the debugger hit the breakpoint in the page_load event, everything was fine but when it hit the breakpoint in the button click event, VS 2008 suddenly stopped debugging. It seemed that the IIS worker process was terminated.I really don't understand this situation.

View 5 Replies

.net - Sitecore 6 Debugging With Visual Studio 2008?

Jul 24, 2010

I'm trying to debug sitecore 6 asp.net code using visual studio 2008 (Windows server 2003 OS), concretely i am trying to get breakpoints to work. I tried setting the breakpoint and then on VS, debug-> attach to process.. -> IIS web server process, but nothing happens when i browse to a certain aspx where a breakpoint is located at the beginning of the Sitecore.Web.UI.WebControl.DoRender method

I tried setting on the website properties home directory->configuration->debugging and check both client-side and server-side debugging but nothing changes. Tried stopping the website, recycling the appPool and restarting, reataching the debugger and nothing happens

View 2 Replies

State Management :: Cookies Automatically Deleted In Application In Visual Studio Team System 2008

Jan 19, 2011

nvironment : [Asp .Net Application in Visual studio Team System 2008 + SP 1 ]+ Windows 7 Enterprise + IE 8+ IIS 7.5

I am running into a odd problem with Visual studio 2008.

A scaled down version of problem is as:

Consider ASP .Net application with a simple ASP .net page.

Write Cookie on one button click as:

[code]....

Why Visual studio 2008 is automatically deleting the cookies on closing of Broswer?

View 5 Replies

Visual Studio :: 2008 Freeze While Debugging (Windows 7)

Jan 23, 2010

I am having a problem with my Visual Studio 2008 debugger on Windows 7. When I press F5, my Visual Studio web server freezes, and the Visual Studio status changes to "Not Responding".

View 2 Replies

Visual Studio 2008 SP1 - How To Stop Debugging In Other Browsers Than IE

Mar 1, 2010

Visual Studio has integrated debugging in IE, when you close IE, it stops debugging, and if you stop debugging, VS closes IE.

I want it to do the same thing with firefox/chrome!

View 2 Replies

Visual Studio :: Debugging Sql Stored Procedure Using Express 2008

Jul 5, 2010

I have got a new personal computer and I would like to download the above. I would like to know if this is possible. If not what is the remedy.

View 1 Replies

Visual Studio :: 2008 Takes Forever To Start Debugging?

May 5, 2010

I have a solution I have been working on over the last few weeks with a 3 or 4 projects in that used to build and begin debugging in under 10 seconds.The solution contains 3 dll's and 1 mvc project.

As of today, it takes about 2 minutes to start debugging, it keeps pausing on "loading symbols for ccpCodeProvider.dll".

I'm debugging on the internal vs development server, and I haven't changed anything since yesterday?I haven't ever used symbols before, and I'm not trying to debug the framework or anything, I just want my stupid web project to run.I created a new solution from scratch and added a random console app, and that also takes forever to debug.

View 2 Replies

How To Enable Script Debugging In Visual Studio 2008 When Using Firefox

May 20, 2010

I'm using Firefox as my default browser and I'm trying to debug java script in side asp.net page visual studio 2008 with Firefox browser.

how to enable script debugging in visual studio 2008 when using Firefox?

by the way, I installed JavaScript Debugger plug-in for Firefox.

View 1 Replies

Debugging - Visual Studio 2008 Not Launching Debug Page?

Jun 9, 2010

I have an asp.net project in visual studio 2008I press F5 and the "test page" does not launch and I don't understand why.Looked at the properties for the site and "start action" is correctly set to "use current page"Similar question. assuming it automatically launched above, how does one open a 2nd instance of the current debug site (seems like their ought to be a "launch site" button?edit: I went back and launched VS as admin and it did launch the site. Maybe this is a security issue?

View 1 Replies

Visual Studio 2008 - How To Save Time When Testing / Debugging Locally

Nov 4, 2010

I have alway tested/debugged my web applications by using f5 to "Start Debugging". Recently (yesterday) I have begun to start without debugging then attach the debugger to the webdev process if I needed to set breakpoints or anything. So far I haven't noticed much of a performance increase when not using the debugger. I am curious about how others save time when running locally.

View 3 Replies

Visual Studio 2008 - Old DLL Is Not Overwritten, And Comes Back

Feb 5, 2010

Using VS2008sp1, I'm publishing Web app to a separate IIS7.5 server. It's been ok for a while, but hit this strange scenario:

-Created a class file that generates its own DLL.
-works fine locally
-When publish to server, the older DLL file is there along with all the other newer files (based on time stamp). The application dies when it tries to execute the new class method (it knows of the correct method call, but cant find the method. e.g method not found: class.method() )
-turned off IIS service. Deleted DLL file, republished: still showed older DLL (???)

Its obviously cached / protected somewhere, but how do I get around this an publish all as a group? Do I need to restart IIS everytime?

View 3 Replies

Visual Studio :: Unable To Use Breakpoints?

Mar 17, 2010

I have my project in VS2005, its is working fine last few years, But now durning development i face problem regarding breakpoints, here Im unable to get stoppage at breakpoints, I have change setting of security in Internet options add localhost as trusted site, but still its remain the same.

I also try Attach to process.... option from the debug, here webDev.WebServer process of running site is disable. Now Im totally unable to debug my project.

View 6 Replies

Visual Studio :: Unable To Start Debugging On The Web Server / Debugging Failed Because Integrated Windows

Jun 3, 2010

I get this error when I hit F5 in VS 2008. I have checked that Windows authentication is enabled on the site and it is. I can mannully attach the debugger to the IIS process and it works. What could be wrong? I have tried alot of things without success.

View 2 Replies

Visual Studio :: How To Turn Off Remote Debugging 2010 / Unable To Start Debugging On Web Server

Mar 7, 2011

I'm trying to debug my web application on my localhost machine in Visual Studio 2010 and I keep getting this error: "unable to start debugging on web server. The Microsoft Visual Studio remote debugging monitor(MSVSMON.exe) does not appear to be running on the remote computer."

Is there a way I can turn this off as I'm not trying to make any attempts debugging remotely.

View 1 Replies

Visual Studio :: Can't Insert Breakpoints In JavaScript

Aug 5, 2010

When I try to set breakpoints in a JavaScript code file, I get the warning, "The breakpoint will not currently be hit. No symbols have been loaded for this document."

This is a fairly large project that was working normally under VS 2008. I just installed VS 2010 Pro Academic, and this is one of the new problems that have appeared. It's running under Win 7 64-bit, IE 8, and both of the IE "disable script debugging" options are turned off. Debugging is enabled in the web.config file. The JavaScript code in question is being executed normally, and inserting "debugger" in the code works as expected. While running under debugging, you can open the corresponding script document from the Solution Explorer, Script Documents, and insert breakpoints just fine. Attaching to the IE process (from the Debug menu) doesn't seem to make any difference.

Basically, everything I can think of looks normal, and yet I can't insert breakpoints into the original source code with VS 2010. The problem is reproducible on more than one JavaScript source file. I rebooted and consults The Great Google, all to no avail.

This is a real headache for development. Has anyone else discovered a fix for this?

(UPDATE: I spent a few hours and created a new project, and copied all of the files from the original to the new one. Now, I can set breakpoints n the new project, but still can't in the original. Something's different between the two, but it isn't clear what it could be.)

View 12 Replies

Visual Studio :: Mapped Breakpoints In Mvc Views Not Working?

Jul 12, 2010

I have a asp.net mvc project in VS2010. In it I have a view called main.aspx that contains alot of javascript that frequently needs to be debugged. I can set the break point in the aspx page's javascript at edit time in VS2010. It appears as a mapped breakpoint. When I launch the debugger/IE browser, the javascript break point never gets hit. If I add a debugger; statement to my javascript I can launch a new visual studio instance and debug javascript. Unforunately, this requires a second visual studio instance and I have to set breakpoints all over again when I do it this way. Also, I have to remember to remove the debugger; statement when I am finished debugging. Is there a better way to get client side breakpoints working in Visual Studio 2010/IE?

View 3 Replies

Visual Studio :: Encountered:No Syntax HighlightingNo Breakpoints?

Sep 1, 2010

We've currently migrated our Classic ASP web to ASP.NET. Our greatest hope lies in using the Visual Studio for debugging. But this hope was destroyed devastatingly.There are lot of issues we encountered:No syntax highlightingNo breakpoints (message: "This is not a valid location for a breakpoint.")No Intellisense
We cannot find the reasons. But we think VS can't resolve our include links correctly. (In our case we remove all inludes and the page was highlighted again.)That's why we have a lot of questions:Can VS2008 handle includes (<!-- #include file="myinclude.inc" -->) at all?Are there any constraints we need to know? Maximal lines to include? Including<% .. %> or <script language="vb" runat="server"> .. </script>?
What settings have to be made?

View 3 Replies

C# - Visual Studio 2010: Breakpoints Don't Work After Rebuild

Jan 25, 2011

I'm working on a VS2010 Solution containing an ASP.NET Website Project and 8 c# class libraries. All projects are set to compile under .NET 3.5

When I set a breakpoint somewhere in the class libraries, the debugger breaks correctly and everything is fine. If I then stop debugging, modify code in the class library, and start debugging again (which of course rebuilds the libraries which were modified) the debugger ignores the breakpoints.

Has anyone else experienced anything like this? I'm lost and it's extremely frustrating to not be able to debug after making even a single line change and rebuilding.

Visual Studio 2010 Ultimate Windows 7 Professional 64-bit

View 2 Replies

Visual Studio :: Start Debugging Option Is Shown In The Visual Studio 2005 IDE?

Feb 9, 2011

I run the start debugging option...it runs successfully. but still is shows start debugging option is shown in the Visual studio 2005 IDE. And one more problem is ::I applied break points in one page and run the application. but those break points are not detected....

View 1 Replies

Visual Studio :: Unable To Put Breakpoints On Client Side JavaScript Code

Mar 20, 2010

I am using VS2008, SP1. I am unable to put breakpoints in my client side javascript code. Wherever I try to put the breakpoint, I am getting the message: "This is not a valid location to put the breakpoint". I have the js intellisense working fine. I also unchecked the two "Disable Debugging" checkboxes on IE. Due to this problem, I am unable to debug the js in VS 2008.

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved