Debugger (break Points) Not Working In Visual Studio 2008?
Mar 15, 2011
I have an application in Visual Studio 2008. I have been working with it for some time. Today, suddenly, it will not debug, or more specifically it does not stop at the breakpoints I created in Visual Studio. It just ignores them. I tested the break points by adding one at the opening of the Page_Load event and nothing. If I put in a mistake on purpose the application will build, the internet explorer opens, and gives me an error report. It has never done this before. Usually it stops IE from opening and gives me a list of errors at the bottom of the VS screen. I want my old VS back. I don't see how this could have changed it but I'll mention the things I've worked on recently. I've been trying to configure the session states in the web.config page, and then recently I started a new web page with a conection to a database and gridview. I have restarted VS and nothing has changed.
View 2 Replies
Similar Messages:
May 15, 2010
I have debug=true both in the web.config and in the requested file but it still won't stop.
View 1 Replies
Mar 5, 2010
I'm running ASP.NET on Visual Studio 2005, and I am not able to step through my break points when I run my application in "Debug" mode. I set the break points, run the application, and Visual Studio simply ignores them.I have gone through all of the configuration settings and project properties to see if their is something obvious that needs to be turned "on" - but I don't see anything.What would be the most logical settings or references to look at?
View 7 Replies
Oct 4, 2010
My Visual Studio debugger detaches every time when I try to access a property in a web application. I don't use Visual Studio's inner webserver, just the standard IIS. It seems like that property has somewhere a stack overflow
(Server Application Unavailable)
, but I can't find it. There is an error message in the EventLog:
aspnet_wp.exe (PID: 5200) stopped unexpectedly
I've tried to delete all temp folder including ASP.NET temporary files, no change at all. I've tried to start devenv.exe /log
but in the log xml, there was hardly any exception. Is there any way to get that exception which causes the debugger to stop/detach?
Plus info is that another colleague can debug that property. I've tried to get his vssetting file, but no change.
View 1 Replies
Aug 4, 2010
i'm trying to debug some code i.e. trying to get the values of some parameters
public SqlDataReader GetAllCompaniesByType(int type)
{
SqlParameter[] sqlp = new SqlParameter[2];[code]....
but for some reason the debugger keeps detaching. It is not just this code but happening everywhere it is driving me INSANE..
View 3 Replies
Jan 15, 2011
I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.
View 1 Replies
May 4, 2010
I was wondering if there is an option to change the debugger url when I initialize the debugger. I want it to start off at http://localhost:xxxx/controller/view rather than just http://localhost:xxxx/.
View 2 Replies
Mar 30, 2010
Usually using Visual Studio's debugger is a breeze. Scanning through Locals quickly shows the values of variables, etc. However, I'm at a loss how to find out the values contained in session state variables? Can anyone give me a hand?Lets say I put a breakpoint right after:
Session("first_name") = "Rob Roy"
How do I view the value contained in Session("first_name") from locals?
View 2 Replies
Jan 12, 2010
I have recently installed VS2008 standard edition after using VS2008 express and VS2010 Express (on this same laptop) running Windows 7 Build 7100.
On clicking "Debug" the error appears:
"Unable to start program
[URL]
The debugger is not properly installed. Cannot debug the requested type of code. Run setup to install or repair the debugger."
This is for a Web Site - File System originally created in VS2008 express.
View 5 Replies
Dec 6, 2010
My break point is not working inside asp.net code behind..But its working fine when I am workinf with windows....
View 1 Replies
Aug 10, 2010
I want to make spider charts like this one: [URL] I want to know can I prepare it using reporting service 2008? I am using sql server 2008 as the database and working with Visual studio 2008.
View 4 Replies
Feb 24, 2010
Im having a strange problem which i never experienced before, the problem is my visual web developer 2005 express edition is not getting attached to the debugger, i mean when im running my web application it is not debugging the program if im putting any breakpoint, more over i uninstall and again installed visual web developer it worked fine for first time but again it is not working. i only difference is i have Internet explorer 8.I dont exactly know the problem. does any one faced similar problem
View 1 Replies
Apr 23, 2010
I am working on an ASP.NET project and I cannot make the breakpoints work! The project does not stop where I place a breakpoint. It does not seem to matter where I place the breakpoint.
I am in debug mode; I am using IE 8, Windows 7 OS;
View 4 Replies
Apr 8, 2010
In the Visual studio IDE is it possible to step backwards in the debugger? If this is not possible,can I somehow trace my step backwards in the compiler?
Also if I am stepping through C# code in the debugger, is it okay to add documentation in the file while I am debugging? I tried this and recieved a pop-up message box informing me that the code had changed. Otherwise the IDE seemed forgiving in regards to comment changes in debug mode. Also I guess this might also lead into the question of wether it is acceptable to add code during debug mode?
View 1 Replies
Apr 26, 2010
If so; where can I get it?
View 2 Replies
Sep 13, 2010
For some reason, when reading from an Access database, values that are supposed to be INT are showing up as HEX
dr["NumSent"]
0x00000000
dataSet.Tables[0].Rows.Count;
0x000004ba
dataSet.Tables[0].Rows.Count.ToString();
"1210"
View 2 Replies
Aug 24, 2010
I am attempting to debug my Visual Studio 2005 project. I have Internet explorer 8 and it's running on IIS.
When I hit the "debug" button, a new Internet Explorer browser window opens and my ASP VB .NET application loads normally. However, Visual studio returns back to regular editting mode and I can hit the "debug" button again. No break points hit but my web page still runs and loads normally.
The Output screen use to show Web.Server(exit 0) but now it doesn't show anything.
View 1 Replies
Jan 6, 2010
Is there any tool for Visual Studio 2008 which can reformat ASPX code to make it more presentable (eg insert line breaks, format the lines so they wrap when necessary, etc)?
View 5 Replies
Mar 18, 2010
I know this is working correctly beacuse when I publish my website to my hosting provider, and request a resource in a protected directory, and I am not currently authenticated, I get automatically redirected to my login page and then once successfully authenticated granted access and redirected back to the sure *.aspx file in my protected directory (assuming I am authorized for those resources).
So that is working no problem.
However, when I run this from visual studio 2008 (F5) in debug mode, I am not being required to authenticate. It simply serves up the protected resource without asking for my credentials.
If I put a [PrincipalPermission(SecurityAction.Demand, Authenticated = true)] on a BLL class method, it will throw an security exception, but the page that is calling it is in a secure directory and I am never asked to authenticate using the login page.
I am closing and re-opening brosers, clearing cookies, etc..., but no matter what I do I am not automatically redirected to the login page, and the secure page when I launch from visual Studio running on the embedded local host. Thiis working perfectly externally, same build, same web.config, pointing to the same database, on the hosting provider. (yes, eventually, I will be using dev/test/prod db configurations to test, but for now for simplicity I am keeping it the same)
Not only is it maddening, but worse yet, it would obviously make testing this application impossible after the initial release.
View 1 Replies
Feb 5, 2011
when i highlight and press CTR+F in visual studio te highlited word doesn t appear in find what
insie the pop up find and replace
View 1 Replies
Feb 12, 2010
I'm going crazy and wasting a lot of time. I am running in DEBUG, checked the web.config to ensure debug=true is there, checked the code to ensure I am reaching it, cleared all temp files and pdb's. The only thing that works is to continually kill the solution, create a new solution and add all the projects again.I shouldn't have to do this every day.
View 4 Replies
Feb 8, 2011
I'm using Vs2010 professional. I was working with a large WebSite (folder) project at work using IIS7 and tried to attach the debugger to the w3wp.exe for debugging an aspx page in IE8 after setting breakpoints in the javascript for the page and in the Page_Load in the code behind. I got a "first chance exception of type 'System.InvalidOperationException' occurred in System.dll" in my debug output, so I gave up for the moment. I created a default website project in the root of IIs7, and set it up as an application in IIs7 with the default app pool.
I tried entering a little javascript in the head, and set a breakpoint, and set a breakpoint again in the Page_Load. I attached the debugger again to w3wp.exe. I see the assemblies load in the debug output and nothing happens:
Ignoring attach security warning for process C:WindowsSystem32inetsrvw3wp.exe, owned by IIS APPPOOLDefaultAppPool [administrator]
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64mscorlibv4.0_4.0.0.0__b77a5c561934e089mscorlib.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64System.Webv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystemv4.0_4.0.0.0__b77a5c561934e089System.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Corev4.0_4.0.0.0__b77a5c561934e089System.Core.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Configurationv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Xmlv4.0_4.0.0.0__b77a5c561934e089System.Xml.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILMicrosoft.Build.Utilities.v4.0v4.0_4.0.0.0__b03f5f7f11d50a3aMicrosoft.Build.Utilities.v4.0.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Runtime.Cachingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Runtime.Caching.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.RegularExpressionsv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.RegularExpressions.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_64System.Datav4.0_4.0.0.0__b77a5c561934e089System.Data.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Drawingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILMicrosoft.JScriptv4.0_10.0.0.0__b03f5f7f11d50a3aMicrosoft.JScript.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILCppCodeProviderv4.0_10.0.0.0__b03f5f7f11d50a3aCppCodeProvider.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_global.asax.g3ldh1jy.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.ServiceModel.Activationv4.0_4.0.0.0__31bf3856ad364e35System.ServiceModel.Activation.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.Extensionsv4.0_4.0.0.0__31bf3856ad364e35System.Web.Extensions.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Runtime.DurableInstancingv4.0_4.0.0.0__31bf3856ad364e35System.Runtime.DurableInstancing.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Web.Mobilev4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.ServiceModelv4.0_4.0.0.0__b77a5c561934e089System.ServiceModel.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSMDiagnosticsv4.0_4.0.0.0__b77a5c561934e089SMDiagnostics.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NetassemblyGAC_MSILSystem.Xaml.Hostingv4.0_4.0.0.0__31bf3856ad364e35System.Xaml.Hosting.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_Web_t1ltfooj.dll'
'w3wp.exe' (Managed (v4.0.30319)): Loaded 'C:WindowsMicrosoft.NETFramework64v4.0.30319Temporary ASP.NET Fileswebsite297987469de3b823App_Web_myfv4sgi.dll'
The thread '<No Name>' (0x22cc) has exited with code 0 (0x0).
I am using 64 bit Windows 7 Professional.
View 1 Replies
Sep 22, 2010
Is it possible to determine at runtime when my site is running in the debugger? I want to use one setting for production and another when I'm running in the debugger.
View 3 Replies
Sep 16, 2010
I've came to a dead end. Visual Studio's Debugger indicated that the error is in the 'objConnection.Open()' Try
View 2 Replies
Apr 27, 2010
I have a Windows Server 2008 x64 to develop applications, I installed the remote debugger rdbgsetup_x64.exe from
http://www.microsoft.com/downloads/details.aspx?displaylang=es&FamilyID=440ec902-3260-4cdc-b11a-6a9070a2aaab (spanish) Run the setup wizard, use the LocalSystem user to run the service and allows any computer to connect to the debugger.The configuration of the firewall is off.The configuration of the firewall with advanced security is:
inactive domain profile
inactive private profile
Inactive Public Profile
I found that the w3wp worker process runs on 32 and msvsmon runs 64.Now the client is a Windows XP x32 with Visual Studio 2008 SP1.either constructing a web application to check the operation of the treatment and get the following error: Unable to start debugging on the web server. The web server does not support automatic attaching This is Most Likely Because the web site is using ASP.NET version 1.0 or 1.1. Upgrade the website to ASP.NET 2.0 or manually attach to the web server process using the 'Attach to process' dialog. "
View 1 Replies