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 > december 2003

Filter by week: 1 2 3 4 5

MSVCR71D.DLL - Multithreaded debug dll not consistent with non-debug version
Posted by Matthew Hagberg at 12/31/2003 2:25:52 AM
I recently compiled a release version of my app, and found that it didn't work the way the version I was debugging worked. Through the process of changing a project setting, running the release version, then changing the setting back, I have discovered that if I force the release version to link...more >>


Debugger not stopping at breakpoint
Posted by Evan Stone at 12/29/2003 9:26:56 PM
I've just started out working with VC++ .NET 2003 (I'm trying to learn C++ with a book) and for some reason if I set a breakpoint in the following simple bit of code it doesn't stop execution: //--- begin code --- #include <iostream> int main() { std::cout << "Hello World!\n"; // break...more >>

Cannot debug under Win XP Home
Posted by zaniwhoop2 at 12/29/2003 5:52:57 PM
I installed VS.NET 2003 on my XP Home computer expecting it to be a replacement for Visual C++ 6 Pro that I had (and still have) installed. Just to play around with it and see what's new, I created a simple test Win32 Console (Unmanaged) project. The program runs just fine, but for some reason ...more >>

Debug Pocket PC
Posted by vin at 12/28/2003 4:10:20 PM
Hi, I get this message when trying to debug the hello world app in the walkthru (or any other SDE application). Launching Application Error while trying to run project: Unable to start debugging. Unable to start program 'C:\Documents and Settings\Owner\My Documents\Visual Studio Proj...more >>

Objects won't expand in watch window
Posted by David Douglass at 12/26/2003 12:59:33 PM
When I hit a break point in the bugger and try to examine objects using any of the watch windows, clicking on the plus sign next to the object does nothing (except cause the plus sign to disappear). No object data is displayed. Does anybody know how to fix this? The environment is VB.NE...more >>

Debugger Skips to other Code
Posted by Rob T at 12/23/2003 3:38:33 PM
I have a large project that contains a large number of folders and files that have the same name. (ie default.aspx is in \Folder1, Folder2, etc) I usually have no problem debugging the code, but on occasion, if I try to set a breakpoint in the code in \Folder1\default.aspx.vb, VS actually opens...more >>

Out of memory. at System.Drawing.Graphics.FromHdcIn
Posted by Karthik at 12/22/2003 11:27:33 PM
Hi, I have a context menu which is to be displayed at a particular point in the form. The code is as below. ContextMenu1.Show(m_Begin, p) where m_Begin is the control and p is the locn at which i want to show. However, after i run the app and use it for sometime, i am getting an u...more >>

Null Reference error in VB.NET2003
Posted by Paul S. Natanson at 12/22/2003 6:07:37 PM
What is a Null Reference error and how do I fix it? My newly installed VB.Net2003 gives me a "Microsoft Development Environment" error message box EVERY time I try to run/start ANY project - even very simple ones. The error says: "An unhandled exception of type 'System.NullReference...more >>



Dll debugging problem
Posted by Curtiss Cicco at 12/19/2003 2:28:25 PM
VS .NET 2003 Pro VC++ Hi, I have a program that when it is ran it loads a dll using LoadLibrary, = then it runs a selected external program by creating the process. Once = the process has been created the dll then hooks itself into the created = process. The problem is the breakpoints I se...more >>

Visual Studio 2003 debugging - does not see changes...
Posted by Bill Swanson at 12/18/2003 12:40:59 PM
ASP.NET VISUAL BASIC on Windows 2000 Professional Problem: 1. change a variable say, DIM strCmd as string strCmd = "update" from strCmd = "Insert" The debugger keeps "update" and refuses to see the new variable "Insert". Also, the debugger still sees code that was deleted. For insta...more >>

Need post-mortem debugging sample files
Posted by Bill Below at 12/18/2003 10:03:21 AM
The MSDN technical article, Post-Mortem Debugging Your Application with Minidumps and Visual Studio .NET, by Andy Pennell, March 2002, mentions associated project files but there is no active link. Anyone know where these files can be found or if they still exist? Thanks, Bill...more >>

error in debugging using vs.net
Posted by Anuradha at 12/18/2003 4:20:21 AM
Hi All, Iam not able to debug applications using the vs.net - (even the new applications with just a "response.write"). Iam have a windows 2000 professional machine and the user is an administrator and part of the debugger users. The error i get is "error while trying to run project....more >>

Debugging ASP.NET hangs VS.NET
Posted by mirek at 12/17/2003 1:35:11 PM
Hi, I can't use debugger to check ASP.NET code. When I start debug, sometimes devstudio hangs, sometimes I get error: "Auto-attach to process '[3852] aspnet_wp.exe' on machine 'MYMACHINE' failed. Error code 0x80010012". Sometimes it helps when I kill aspnet_wp.exe process, but sometimes it coul...more >>

wierd problem happening when debugging and AppDomain.UnhandledException event is handled
Posted by Eric Newton at 12/17/2003 10:24:36 AM
I can't explain why this is happening but here goes I have a class library being called by a Windows forms app [all VB.Net], option strict is ON before the Application.Run(new frmMain), I call AddHandler AppDomain.CurrentDomain.UnhandledException, addressof AppDomain_UnhandledException t...more >>

VS debug problems
Posted by Glenn Watson at 12/17/2003 10:19:39 AM
I currently am having issues with Visual Studio 2003 .NET running a c++ application (or any type of application for that matter). I notice some of the posts around the place ask for you to attach to another process of devenv but I can't even do that at the moment without the error message comi...more >>

Debug a compiled Console app?
Posted by Dave at 12/17/2003 8:20:09 AM
Hi, I created a C# console application that references another .net dll that I compiled earlier. When I test the console application in VS.NET 2003 it runs fine. When I compile it and run the .exe version I get System.IO.FileNotFoundException errors in the console executable. What ca...more >>

Command Window for C# debugging is pathetic... compared to VB.Net's
Posted by Eric Newton at 12/16/2003 10:18:30 PM
I'm curious why the command window between the two different projects is so radically different... obviously because of syntax, but C#'s routine fails to be able to set variables and modify watched variables Is there any workarounds or such? I love C# but man, vb.net is easier to debug and on...more >>

VS.NET 2003 Windows App Hangs When Debugging
Posted by msavage123 NO[at]SPAM hotmail.com at 12/16/2003 9:07:22 PM
I'm running VS.NET 2003 on a new XP SP1 machine. I create a new C# Windows application then try to debug the application and VS hangs. VS is completely locked up and can only be stopped by ending the task from Windows Task Manager. If I run without debugging the program runs fine. I have a newer...more >>

Application Errors
Posted by Weeksy at 12/16/2003 6:54:41 PM
Hi, I am new to using C# and MSVS for my development. I have written a simple program that uses various Windows form components that works as intended on the Windows XP machine that it was developed on. I built a Release version and I can run the release executable from its icon on th...more >>

An unhandled exception
Posted by Mark at 12/16/2003 4:15:38 PM
Hello, I'm getting the following error: An unhandled exception of type 'System.ArgumentException' occurred in system.drawing.dll Additional information: Resource 'FeatherTexture.bmp' could not be found in class 'Textures.Form1'. I've added the resource, and referenced it. I've checked ...more >>

need some help plz, think maybe threading issue
Posted by I appreciate your help.... anony at 12/16/2003 12:36:07 PM
Hi all, Ive made a Windows Service that basically makes connections to a Sql database, when it connects it runs a stored procedure. Below is the static procedure. This procedure is in the Windows Service and the procedure runs and an Eventlog is successfully written with no exceptions. If I ...more >>

Performance of unmanaged debugging
Posted by Dmitry Shaporenkov at 12/16/2003 4:00:11 AM
Hi all, I'm a newbie to this newsgroup, so excuse me If I repeat well-known things. Why the performance of unmanaged debugging under VS.NET is so sluggish? I'm developing an add-in for VS.NET, so I have to enable unmanaged debugging from time to time to catch unmanaged exceptions. With thi...more >>

Debugger won't launch
Posted by (jharries NO[at]SPAM sbcglobal.net) at 12/15/2003 11:28:16 AM
I am getting the message dialog in Visual Studio Professional 2002 after I uninstalled and reinstalled: "Unable to start debugging. The debugger is not properly installed. Run setup to install or repair the debugger." Reinstalling the .NET framework as recommended by various knowledge base ...more >>

BUG: memory leak in mscordbi.dll
Posted by Hanno Lewandowski at 12/15/2003 1:28:36 AM
Hi all, hopefully this posted mail will be read by a microsoft developer. I'm writing a monitor application (native Win32), which uses the ICorDebug interface just to access variable objects of a .NET application. It works fine, but after a while the monitor process get out of vir...more >>

Why Debug --> Start was disabled (grayed out)
Posted by ZZ at 12/13/2003 12:52:26 PM
I was debugging an ASP.NET app, the IDE hanged there, so I closed the IDE and open an new one, now the Debug --> Start button was disabled. Any clue? Thanks....more >>

System.NullReferenceException: Object reference not set to an instance of an obj
Posted by Robert at 12/12/2003 2:39:17 PM
Hi All, I am not sure what is going on here. But I tried to build a really simple VB .NET app and a really Simple C# app Using VS .NET 2003. Both are windows application. I selected a new project and then windows applicaiton. This gives me a blank form. I then try to run the project ...more >>

Debugging Windows Service
Posted by Gustavo Ortega at 12/12/2003 7:42:53 AM
I have tried to debugg a Windows Service, unfortunately I always receive the message "Unable to break into the process 'XXX.EXE'. The process does not contain any programs." My question is, how could I debugg the service using DEBUG --> Processes? Thanks ...more >>

Allow service to interact with desktop
Posted by Nuno Monteiro at 12/11/2003 4:21:13 PM
Hi! How can I set the property of a service (Allow service to interact with desktop) true in the setup of the service -- Thanks, Nuno Monteiro nuno@rcsoft.pt RCSoft - Desenvolvimento de Software, Lda. Telef: 239708708 Fax: 239708701 ...more >>

Changing Runtime debugger to DBGClr.exe
Posted by Todai77 NO[at]SPAM hotmail.com at 12/11/2003 11:39:17 AM
I wanted to know if it is possible to have .NET Framework default to DBGClr.exe debugger rather than cordbg.exe debugger. I have an application that is on a production server, which doens't have Visual Studio, and I would like to be able to step through the code when an error occurs. Any help ...more >>

Why this code gets errors in VS.net when compiled
Posted by sarma pisapati at 12/10/2003 5:33:47 PM
I am new to VS.NET; I have an assignment that includes the following code that gets syntax errors. Can someone help me what is wrong? Thanks in advance. // Class Implementation File: mydate.cpp #include "mydate.h" #include <cassert> // for assert // CONSTRUCTORS mydate::mydate() ...more >>

if i could only get one question answered today, it would be this...
Posted by lover at 12/10/2003 4:33:52 PM
....WHY... (bet you knew it was going to start with that...) ....WHY does setting the System.Diagnostics.DebuggerStepThrough attribute for a method result in debugging that steps OVER that method? is this one of those tricky new M$ 'Fat = Thin'/'Lame = Cool'/'Green = Blue' concepts???...more >>

"Step Into" behaving erratically in VS2003
Posted by Duane Roelands at 12/10/2003 9:39:19 AM
I've begun having some difficulty with "Step Into" on a project where it has been working normally up until this morning. I'm developing a VB.NET application for PocketPC 2003, and using the emulator for testing. My application creates an object as follows: Public Manifest As New manife...more >>

Debugger is disconnected or not working!
Posted by Bruce at 12/10/2003 7:34:28 AM
I can not debug a VB.Net program even though the program will compile correctly. The message "The Machine debug manager service is disabled". I tried to reinstall the program using the "setup" part of cd 1 but the set up menu keeps telling me all the components that I need are present. If ...more >>

Has .NET changed debug symbol formats?
Posted by Paul Bouche at 12/9/2003 4:35:32 PM
I just upgraded to .NET 2003 from VC6. I notice that my Purify tool no longer works very well -- it works, just not well. It complains -- Unknown Type of Codeview debugging data encountered RSDS size 37. I presume that implies debugging symbol format has changed in some manner. Is ther...more >>

Debugging VS6 DLLs from VS.NET
Posted by Mike Wilmot at 12/9/2003 12:12:16 PM
Debugging VS6 DLLs from VS6 rocked. The only article I found to do this from VS.NET is: http://support.microsoft.com/default.aspx?scid=kb;en-us;811658&Product=vsnet Is this as good as it gets???? Cheers- Mike Wilmot...more >>

Viewing collection contents from debugger
Posted by Mike Blake-Knox at 12/9/2003 9:09:49 AM
I'm having problems viewing members/properties of C# classes in the Debugger. When I try to use the VS debugger (in VC#.NET) to view the current contents of a collection, I can expand the collection by expanding the tree in a Quickwatch (or in an Autos/Locals/Watch windows). This has nest...more >>

Debugging doesn't work in VS2003 C#
Posted by gummi at 12/9/2003 2:56:06 AM
Seems like a lot of people are experiencing this. Debugging used to work but now it doesn't. I get no error, breakpoints just aren't hit I'm using VS2003 EnterpriseArchitect C#, WindowsServer2003, SqlServer2000SP3 I'll use the simple HelloWorld() web service as an example (no C# project...more >>

Changed workstations, debugging stopped.
Posted by Bill Sempf at 12/8/2003 6:38:48 AM
Hopefully a simple problem. I changed workstations, and remote debugging stopped working. Now when I try to enter debugging I get the message: "Error while trying to run project: unable to start debussing on the server. You do not have permission to debug the appication. The URL for t...more >>

Visual Studio.Net version 7.10
Posted by Anupam at 12/5/2003 12:48:30 AM
Hi, I got a project with version as 7.10 written in VC++. I installed Visual Studio.Net 2002 on the system and tried to run the same. It gives the error message as "Your project file version is "7.10". Visual Studio.Net can only load version 7.0 project files". Can anyone help me how to...more >>

?Breakpoint
Posted by Dean Slindee at 12/4/2003 9:10:07 PM
I have set a breakpoint in the form_Load event. When the application is launched the red breakpoint dot becomes a dot with a ? inside, and the breakpoint is not honored. The tooltip message at the breakpoint says "The breakpoint will not currently be hit. No symbols have been loaded for this d...more >>

Loading a MiniDump from managed code, using Visual Studio .NET 2003
Posted by Wilbert at 12/4/2003 1:56:59 PM
Hello, I wanted to try loading a dump of a managed process. I created a C# application that throws an exception (out of array bounds) when I tell it to. DrWtsn32 created the minidump. Next I loaded the dump in Visual Studio ..NET 2003, set the symbol path to the symbol file of my project, and ...more >>

TraceListener locks log file after first write???
Posted by Chip Johansen at 12/4/2003 12:14:27 PM
I am trying to use a TraceListener to write to a log file. No matter how I try it, after the first time the listener creates and writes to the file, the file is then locked and subsequently generates and error on the next attempt to write to the file. I want to use this in my webservices, but...more >>

ASP .NET Debugging not working with limited user
Posted by Harry at 12/4/2003 12:06:23 PM
Hi, whenever I try to debug an ASP .NET app in VS .NET using limited user account (Win XP) I get an error message that says "Error while trying to run project: Unable to start debugging on the web server. Access is denied.". ...more >>

VB.Net and Sql database-Unable to find table
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 12/4/2003 8:40:48 AM
An unhandle exception of type 'System.data.SqlClient.SqlException' occured in system.data.dll...more >>

VB.Net unable to find Sql database tables
Posted by Kassem at 12/4/2003 8:02:00 AM
Whenever I run an example of VB.Net which require the retrieval of tables from my locally installed SQL database, The program is unable to find the Table and cannot carryout the SDA.Fill exercise. The message reads"An unhandled exception of type'System.Data.SqlClient.SqlException'occured ...more >>

VS2003 - C# - Stopped hitting breakpoints !!
Posted by mqsash NO[at]SPAM rediffmail.com at 12/4/2003 4:07:28 AM
Hi, We are developing a c# assembly (.dll) and the debugging was working fine till recently. System details : Win2k SP4 / VS2003 v7.1.3088 / Framework 1.1.4322 / Language C#. Then one fine day, just out of the blue, the debugger stopped recognising my breakpoints. When debugged, all th...more >>

Jit debugging problem
Posted by Ivar Zapata at 12/3/2003 6:42:20 PM
I have a multi-project solution. The start-up project contains a MainForm an a DialogForm (called by the MainForm). I run the project from the IDE (VS-NET 2003) Whenever there is an unhandled exception in the DialogForm a dialog appears telling me that I have not set JitDebugging to TRUE (wh...more >>

upgraded to WinXP now debbuging broken
Posted by Jamie at 12/3/2003 10:53:10 AM
I upgraded from Win2000 Pro to Win XP Pro a couple of days ago. I am now experiencing problems debugging windows applications in VS .NET 2002. I never had any problems on Win2000 and I don't have any problems debugging ASP.NET apps.. it's only windows apps. It will work after a number of atte...more >>

stack dumping with DIA ????
Posted by Trey Nash at 12/2/2003 5:57:27 PM
Hi all, I've just started converting some old DBGHELP based stack dumping code over to using the DIA. Problem is, it's not all that intuitive considering the drought of documentation for the DIA. I can look at all of the symbols and what not using the DIA with no problems, similar to the way...more >>

How to *not* catch exceptions in the IDE.
Posted by Codemonkey at 12/2/2003 11:59:47 AM
Hi, I'm experiencing the following annoying behaviour in the Visual Studio .net 2003 and am looking for a way of stopping it from happening. For debugging purposes, I want to catch all exceptions that are raised in my code that I have in the IDE, so I go to "Debug > Exceptions" and set all ...more >>


DevelopmentNow Blog