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 > september 2006

Am I running from studio?
Posted by Aurin at 9/29/2006 10:07:01 AM
I there a way that I can determine whether or not a Windows.Forms app is running from Studio? i.e. did the app start via the Start button in Studio rather than being run directly from the .exe? ...more >>


No Symbols loaded for this document
Posted by Rahvyn at 9/26/2006 11:27:01 AM
I am trying to debug a class library in VS2005, and am unable to hit the breakpoint. I have the project in debug mode, and am getting pdb files when I compile. I can attach to my vb6 process without any errors, and the project is running. This is a COM project and set for COM Interop, not ...more >>

HELP: Break point not stop when client connect; but stop when using IE
Posted by jshenj2001 NO[at]SPAM yahoo.com at 9/21/2006 7:50:40 PM
I have a webservice. When I set it as a start page and invoke the service from IE, the break point in the web service code stops. I also have a WinForm app which uses the same web service, when invoke from the app, the break point does not stop. Both webservice and Winform are in C# and the ...more >>

App Crashes when running from a network drive
Posted by BWB at 9/21/2006 12:08:03 PM
I have a signed mixed mode app that fails to run on a network drive when compiled debug. It runs fine from a local drive. It runs fine from a network drive if it is compiled release. What could be the problem? This makes it very difficult to remote debug a build across a shared network dr...more >>

Unable to debug in Visual studio 2003 on personal computer
Posted by Julia at 9/20/2006 6:41:01 PM
Hi, I am trying to debug a program and keep getting the message Error while trying to run Project …. Unable to start debugging unable to start program ‘C:\docume~1\ADMIN~1.use\desktop\IEXPLO~1.exe’ The system cannot find the file specified’ What do I do? Thanks Julia Juliaa...more >>

Setup Debugging for VS2005 on Vista RC1
Posted by RedRock at 9/20/2006 6:28:01 PM
I have been all over the net looking for the correct setup to debug a web application in VS2005 on a Vista RC1 machine. Will someone at Microsoft respond definitively, the rumor mill is really cranking with nothing that works. Debugging a web service and web applications is crucial to prod...more >>

Immediate Window and DBNull
Posted by john armitage at 9/20/2006 2:43:02 PM
Quick question about DBNull in the immediate window. Not sure if it is the framework or the tool...but I'm betting that there is a setting in the tool. I'm using Visual Studio .NET 2003 with the 1.1 framework, and Visual Studio ..NET 2005 with the 2.0 Framework. I notice that while debuggin...more >>

"unable to attach to the process" - VS 2003 VB.NET dll and VB6
Posted by eric.goforth NO[at]SPAM gmail.com at 9/20/2006 11:20:42 AM
Hello, I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a reference to it in a VB6 DLL that I'm calling from a Classic ASP page. Previously I was able to attach to my .NET dll and debug it. I haven't been able to do this in a while and I'm thinking that it must be because...more >>



Slow start with debugger
Posted by Denis at 9/20/2006 9:25:02 AM
Hi, I'm having performance problems starting an asp.net application with VS 2k3, but only when I start it using F5 (to use the debugger). If I start it with the debugger without the debugger, then no problem. The problem that I get is that it takes several minutes to start. In the debug ...more >>

Unable to debug mixed-mode under x64. Any suggestions?
Posted by jbofemc NO[at]SPAM gmail.com at 9/19/2006 10:03:22 AM
I have an x64 project where the EXE is native unmanaged C++ and it calls a managed C# DLL. For the Win32 version of the EXE, I'd set the debugger type from "Auto" to "Mixed" and this would allow me to debug my native C++ application and step into the C#/CLR code in the DLL, but when I perform t...more >>

Reference to a non-shared member requires an object reference.
Posted by michael at 9/19/2006 7:59:03 AM
I want to use the Immediate window during a debugging session to reveal the value of a fully referenced and public attribute. However, when I type "? Form1.dsTheDataSet.Tables("TheTable").DefaultView.RowFilter" I get the error referenced in the Subject line above. If I place the same attri...more >>

Cannot debug managed apps: kernel debugger enabled - WTF?
Posted by Pavel A. at 9/19/2006 5:49:01 AM
VS 2005 can not debug managed applications when a kernel debugger is enabled? Any explanation to this? What if I need to debug my app with my driver at same time? Regards, --PA...more >>

VB Compiler Error in VS2005 Team Dev
Posted by JT at 9/18/2006 11:19:01 PM
Hi, I am debugging a project that contains ADO.NET datasets. When I hit a breakpoint, and press F11 to step into the process, I consistently get a VB compiler error whenever my debugging takes me into the dataset designer code file, where the <System.Diagnostics.DebuggerNonUserCode()> attrib...more >>

Advanced Debugging Anamoly!!
Posted by Vai2000 at 9/18/2006 11:47:06 AM
Hi All, I am building a VS2005 project in which I reference an assembly that was built on VS2003. While debugging I am not able to step into the code for that assembly. I have put the source code for that assembly in the same folder where my 2005 project files are located...What am I missing? ...more >>

Value and Type in Locals debug window
Posted by SNORBERG at 9/15/2006 7:44:02 AM
Since in the Locals debug window the Value and the Type are the same for classes , I would like to be able to display the "value" of the class in the value column. I have tried overriding ToString, but that would have been too easy. Is there a way to do this? I don't even know where to star...more >>

simple tracing solution needed
Posted by semedao at 9/13/2006 6:31:56 PM
Hi, If you look at the example of using the Trace , you will see: static int Main(string[] args) { Trace.Listeners.Add(new TextWriterTraceListener(Console.Out)); Trace.AutoFlush = true; Trace.Indent(); Trace.WriteLine("Entering Main"); Console.WriteLine("Hello World."); Tr...more >>

How to set port # for internal web browser?
Posted by Bill Cohagan at 9/13/2006 12:16:01 AM
Is there a VS 2005 option setting that specifies what port number to use for the internal web browser (Casini?) supplied with VS2005? I find that the port number used seems to vary from machine to machine although it stays the same on individual machines. I'm trying to set up Selenium tests th...more >>

VS2005 Debugging woefully slow
Posted by Valerie Hough at 9/10/2006 5:31:05 PM
Hi I converted all my projects from VS2003, and stepping over a single line of code may now take 2-3 seconds when doing practically nothing (like incrementing a local variable). I see that someone has solved the problem by moving the mouse around; perhaps Microsoft now has a more comprehensiv...more >>

Managed code not available in debugger attach process when VS2005
Posted by Francesco at 9/8/2006 5:54:05 PM
I want to debug a service written in c# VS2005. I know I have to install the service then start it then attach the debugger to the running process. Unfortunately when searching for the process I notice that the only debuggers type available are TSQL and native, no managed code to debug. A...more >>

Cannot debug ASP.NET apps on Windows 2003 server edition
Posted by TW Chen at 9/7/2006 5:01:28 PM
When I tried to debug an asp.net app in VS.NET, I got a message saying Error while trying to run project: Unable to start debugging on the web server. You do not have the permissions to debug the server. Verify that you are a memeber of the "Debugger Users" group on the server. I am running ...more >>

Slow Exit/BackgroundWorker
Posted by Brett Wickard at 9/7/2006 1:01:53 PM
If I debug my app and run any form that had a backgroundworker on it, the exit from debugging can take up to 25 seconds. If I have not opened a form with a backgroundworker on it, the exit from debugging only takes a second or two... In the debugger output window, two threads show up right...more >>

Changing Currently Executing Statement
Posted by AvgJoe NO[at]SPAM community.nospam at 9/6/2006 5:03:02 AM
In VS.net 2005, I am no longer able to change the currently executing statement while debugging. (ie. Move the Yellow Arrow) Is there a setting somewhere that got changed when It should have? When I click and drag the yellow arrow it just toggles a breakpoint. Thanks. Joe...more >>

Remote Debugging of Remote server using VPN
Posted by Shahzad Godil at 9/6/2006 12:00:00 AM
Hi All, I am going to do Remote Debugging of Windows 2003 server using vpn connectivity. I am getting access denied error. On my local 2003 server machine, I was able to setup remote debugging without any problem. Thanks Shahzad Godil ...more >>

Web Application debugging
Posted by Mansour Ghaoui at 9/5/2006 12:58:02 AM
Hi, I've converted a relatively small VS2003 web application (~150 .ascx and ..aspx files) to a VS2005 web application. Debugging the web application is *extremely* slow. Compiling is fast but starting up the debugger is rediculously slow. It takes about 1 - 2 minutes before the webbrowser ...more >>

How to break on custom exception?
Posted by Loy at 9/4/2006 7:36:19 AM
While debugging it is great to be able to break on exceptions such as NullRefferenceException or InvalidCastException. I set it using Debug --> Exceptions... But how could I break on exception type I create? I tried adding it by short name and by full name (i.e. MyException and MyNamespace.My...more >>

How Could I debug my program while it's running?
Posted by Monica at 9/1/2006 6:45:01 PM
Hi there, I would like to debug my program while it's running. for example when I start my program with F5, and it run, is there any way that I see in any time, my program is in which function or in which line? by the way, please show me some good references about advanced debuging. thank...more >>

Debugging a TypeLoadException using fusion binding log viewer not working
Posted by Matt Adamson at 9/1/2006 4:42:16 PM
Guys, We have an error thrown below 1) Exception Information ********************************************* Exception Type: System.TypeLoadException Message: Method CreateFromTaskID in type Tranmit.Sprinter.Approval.Interop.ApprovalTaskFactory from assembly Tranmit.Sprinter.Approval.Inte...more >>


DevelopmentNow Blog