How To View Session Variables In Visual Studio 2008 Debugger
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
Similar Messages:
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
Apr 26, 2010
If so; where can I get it?
View 2 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 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
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
Sep 6, 2010
After reinstalling Visual Web Developer 2008 express a few times I still don,t have design view just source view.
View 3 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
Jan 27, 2010
How can we debbug a multi-thread program to see local variables of each thread using visual studio 2008.
View 1 Replies
Jul 27, 2010
There are no errors or warnings on my VS2008 Web Application Project but when I try to publish, it fails. How can I view the VS2008 publish log?
View 1 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
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 26, 2010
i have visual studio 2008 and ms office 2007..when i try to develop a web application in vs 2008, i didnt able to open the design view of the web page.. i can only able to see the source view..came to know by googling as, there is some compatibility issues between vs 2008 and ms office 2007 in web authoring components.
View 1 Replies
Aug 19, 2010
i open a web application in visual studio 2008... it contain the tree view properties as,
TreeNodeType type;
type = new TreeNodeType();
type.Type = "folder";
type.ImageUrl = "Images/" + "folder.gif";
type.ExpandedImageUrl = "Images/" + "folderopen.gif";
i dont know how this image tag comes.. and how to chage that...
View 1 Replies
Jan 26, 2011
I upgraded a project from Visual Studio 2005 to 2008. Now when I'm in the design view of a dataset (an xsd file) and try to add a new column a get an error message:"Failed to add column. The server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported".But if I add a column from Visual Studio 2005 to a SQL Server 2008 database it works fine.
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
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
Mar 13, 2011
I downloaded VWD 2008 express months ago. Don't know what happened but my design view went.I have reinstalled the application several times but no success. I posted this problem on several forums and got many suggestions like uninstall office 2007, reinstall web authoring component, install n et.framework 3.5 which is not compatible with Win7 and does not install, so I have net.framework 4.0. I tried to bburn the iso file installation package, burnt it to a dvd and install it from the media, nothing.My pc is a Compaq Presario CQ61 Notebook running Win7 Home Edition.
View 2 Replies
Jan 20, 2010
i am using the combobox ajax control i in design time i am having an error:
there was an error rendering the control. Request is not available in the context.
View 1 Replies
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