Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007


all groups > visual studio .net debugging > april 2006

How to view a class variable detail in quick watch
Posted by Dav Tan at 4/27/2006 11:30:30 AM
Hi, I am debugging a VB.NET application in VS.2003. When I open a quick watch for a variable (class), I can only see the type of the class, not the list of members we had in the class (by clicking +). Did anybody have the same experience? Any idea? DT ...more >>

ContextSwitchDeadlock, how to deactivate
Posted by Jesper at 4/27/2006 10:46:01 AM
Hi, I'm making a single threaded app. Why can I get a ContextSwitchDeadlock MDA message if for a single threaded .net application. Why does it still occur when I put the following xml in an (app).mda.config file in the ...bin/debug folder. <?xml version="1.0" encoding="utf-8" ?> <confi...more >>

Remote debugging SQL 2005 Stored Procedure called from Console App
Posted by Rick Glos at 4/27/2006 9:48:02 AM
I'm having difficulty getting remote debugging to work on SQL Server 2005 and Visual Studio 2005. In trying to troubleshoot this I have created a simple C# console app on my local machine (WinXP SP2) that calls and executes a stored procedure. The stored proc is located on a Win2003 Server...more >>

Problems with Debugger VS 2005
Posted by mil10 NO[at]SPAM swbell.net at 4/25/2006 6:40:16 PM
The Visual Studio .NET 2005 debugger is not working with my console applications. I have a simple console application that writes a message to the console window then waits for the user to press a key. When I press F5 to execute, I get a successful build, but the console window is never di...more >>

Edit and Continue crashes VB compiler
Posted by Guido Kraus at 4/21/2006 7:44:02 AM
Hi, I'm just wondering if "Edit and Continue" is still in Beta phase. I have a Windows Forms project with three additional Class Library projects (mixed C# and VB.NET). All source code is compiled with VS.NET 2005. Every time I use E&C in my VB.NET code, I get a VB compiler crash after th...more >>

Editing Classic ASP .inc files with VS 2005
Posted by kaczmar2 NO[at]SPAM hotmail.com at 4/19/2006 1:54:57 PM
I have a classic ASP project with some include files that have an .inc extension. In Visual Studio 6.0 (InterDev 6.0), you could use the same "color coding" (green for comments, blue for keywords) that .asp file used, by simply choosing the HTML editor for these files (right click on the file,...more >>

Debugging Class ASP in VS 2005
Posted by kaczmar2 NO[at]SPAM hotmail.com at 4/19/2006 12:47:44 PM
I am trying to set up a classic ASP project in Visual Studio 2005, and I am unsure of how to debug the global.asa file (I can debug a classic ASP file, though.): 1) Set a breakpoint on any ASP code line and run the debugger 2) In Visual Studio 2005, Select Debug --> Attach to process... 3) Cl...more >>

Is successful build a pre-requisite for reaching breakpoint?
Posted by Web learner at 4/18/2006 2:00:49 PM
Is "successful build of project (asp.net20 C# website VWDExpress)" a pre-requisite or necessary condition to reach a breakpoint? I am asking this this question because the page loads up in the browser and the statement is successfully executed without ever hitting the set breakpoint. I see ...more >>



First line of code
Posted by Mike L at 4/17/2006 2:55:02 AM
VB.Net 2003 Win Form I want to step through the first line of code, but can't find it. Under my project's property pages, I have frmMain in the Startup object. When I put a breakpoint on the frmMain.load sub procedure, then start F5, other code runs then stops at my breakpoint. I won't...more >>

VS2003 C++: multiply defined symbols linking errors... Help Please!
Posted by Gilbert Wu at 4/12/2006 5:34:15 PM
Hi, I am trying to debug a Win32 application written in C++ using VS2003 by = another programmer who just left the company. The app compiled and run = fine in Release mode. When I changed to Debug mode, the linker reported = the following errors. Is there any attribute or directive I can set ...more >>

how to find the line where a value gets changed
Posted by kevin at 4/12/2006 1:24:01 PM
using VS.Net 2003 / c# I know how to set a debug point to a line when a value changes, but I would like to be moved to the line of code that actually changed the value (i.e.: I want the debugger to stop as soon as this value is changed). How do I do this? Can I do this? -- kevin......more >>

Error Debugging on new Install
Posted by Scott at 4/11/2006 12:17:01 PM
On an XP SP2 machine I did a full install of VS 05 Pro (then did a full install of SQL 05). I'm not able to debug either web or windows projects. They compile then return a message box that states, "Unable to attach. The binding handle is invalid" for web apps and, "Error while trying to ...more >>

"Unable to load image" .... b77a5c561934e089_df60ae4e\mscorlib.dll for dump debugging
Posted by Dekel at 4/11/2006 9:10:25 AM
How can I load the relevant symbols? Where should I place the original (missing) dll and what path to set? When debugging crash dump - I found this in one of the stack traces: --- .... 0012f354 00a3a42a 00000003 0be175c0 00000100 kernel32!ReadFile+0x64 Unable to load image c:\WINDOWS\assemb...more >>

break
Posted by gl at 4/11/2006 7:11:03 AM
On a page in my web project I'm getting the following message on breakpoints when I run it: "The breakpoint will not currently be hit. The source code is different from the orignal version." I try to shut off the source matching in the debugging options, but that just makes the breakpoin...more >>

Debugging and executiong doesnt fit
Posted by eduwushu at 4/11/2006 4:59:01 AM
Hi there i have a problem with visual studio 2005: I have a program which is bringing me some problems.Its a windows form application with use of threading. The point is that when i run the debugger it doesnt show me any error message or exception and everything goes right, i can move the fo...more >>

Edit and Continue doesn't work
Posted by Vlado Jasovic (www.excelleinc.com) at 4/10/2006 8:43:58 PM
Hello, I have tried almost everything and still can't get "Edit and Continue" to work. I have enabled it through Tools-Options-Debugging. I played with project settings -> debug and then checked/unchecked all 3 checkboxes(Enable unmanaged debugging, Enable SQL ...), tried different comb...more >>

VS 2005 Code in debugger going to incorrect routine
Posted by Edward Diener at 4/10/2006 5:51:29 PM
I have a mixed-mode assembly. A ref class has a private pointer to a native C++ class, which is a sub-class of the ref class. This allows my native C++ class to access functionality in my ref class once it is passed in its constructor the 'this' pointer of my ref class, which it stores in a ...more >>

Event does not fire!
Posted by MSG Servicos de Informatica at 4/6/2006 12:12:02 PM
Hi All! I'm having a problem with an application that I converted to Visual Studio 2005; The problem follows below. My Application (ASP .NET with C#)constructs the GUI dinamically. The app have Buttons that I change their events manually like the line bellow: Button myButton = new Butto...more >>

Why is debugging is super slow on 1 particular project?
Posted by TS at 4/5/2006 9:53:26 AM
why is it that one of my projects when stepping thru in debug mode takes about 2 seconds to go from line to line while a different project goes very fast. i've noticed this before in the past. Both projects are similar in that they are being developed from my local box and many other similarit...more >>

JIT Debugger no longer works and unable to select it in VS2003
Posted by David Shower at 4/5/2006 8:15:03 AM
Since the last time I used it successfully, I have installed .NET Framework 1.1 SP1 and the security patch for it and uninstalled the Primalscript 4.0 Eval. Primalscript tech support says they should not have caused the issue. The cscript //x whatever.vbs command line does not invoke a debug...more >>

Visual Studio .NET Just-In-Time Debugging has failed with the following error: Access is denied.
Posted by kanthikumar.palukuri NO[at]SPAM gmail.com at 4/4/2006 8:51:08 AM
hi when i try to debug a process(windows service) from the task manager im getting the below error msg: --------------------------- Just-In-Time Debugging Handler and CLR Remote Host --------------------------- An exception 'Unhandled Win32 Exception' has occurred in process 552. However, V...more >>

VS 2005 debugging ASP.NET 2.0 does not break
Posted by James at 4/3/2006 2:20:30 AM
Using VS 2005 Pro on Windows Server 2003 Standard, I can't get the environment to break on breakpoints. web.config has the following setting: <compilation debug="true" strict="false" explicit="true"/> which is all I thought was necessary to debug. I create a page load in Default.aspx, ...more >>


DevelopmentNow Blog