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 2004

QuickWatch Window Strangeness within VB.Net
Posted by Lindsey at 12/30/2004 3:43:01 PM
I have a project that I am building that includes a reference to the Microsoft Data Application Block as a "Release" version of the DLL. When I open the QuickWatch window while debugging code, I normally would expect to see the tree showing all the selected object's properties. But instead I...more >>


Viewing function return value in C#
Posted by twahl at 12/29/2004 7:50:32 AM
Assume that I am in the debugger and have broken on the return statement. How can I view the value that this function will return if I press F10? Thanks for your help in advance!!! Public string GetStringVal(string str) { return ManipulateString(str); } ...more >>

Ctrl+S Bug
Posted by psduckie at 12/28/2004 3:07:01 PM
PRODUCT: Visual Basic 2005 Express Edition Beta 1 I am writing an app to automatically save my work in Microsoft Word. Currently, it presses Ctrl+S at an interval set by the user. Here is my code for the timer: <START OF CODE> Option Explicit On Public Class frmAutoSave ....code...more >>

Can not see the properties of an object in the watch window
Posted by Toby Te Rupe at 12/22/2004 12:14:00 PM
VS.NET 2003 1.1 Framework. When I add an object into the watch window I can not see any of the properties of the object. :( Can anyone please tell me why. TIA ...more >>

Debugging the contents of a std::vector
Posted by OrbitalTug at 12/21/2004 11:42:11 PM
Hi When debugging I often want to inspect the contents of vectors. I usually do this with a watch window statement like: myVec._First[0] thus showing the contents of the first element etc. Even better: To see a list of several elements in the vector I use a statement like: myVec._Fi...more >>

Edit and continue rarely ever works...
Posted by OrbitalTug at 12/21/2004 11:19:12 PM
Hi My company previously used Visual Studio 6.0 for working on our application. As the application has quite a long startup time (especially when running Debug build from the debugger) I used Edit and Continue a lot to test the effect of small code changes. About a year ago we upgraded t...more >>

PDB question
Posted by Daryn Kiely at 12/21/2004 10:53:02 AM
I have a couple of questions regarding using a PDB file. How does VS 2003 determe whether a PDB file is valid for the current DLL that is loaded? Is there a way to force it to load a PDB you know is valid but it doesn't believe you?? The reason I ask is I have a mdmp file from a customer th...more >>

What does the box after a string value mean
Posted by Paul McManus at 12/21/2004 10:13:12 AM
I have been debugging some code that I inherited that includes C# and .net C++. I am relatively new to the visual.net environment. I have been having trouble getting two strings that appear to be the same to compare. When debugging and placing the cursor over a string variable, the value of...more >>



What does the box after the character string mean.
Posted by Paul McManus at 12/21/2004 10:03:02 AM
I am debugging some code that includes C# and Managed C++ code that I inherited. I'm relatively new to dotnet and have been having trouble with comparing strings. While debugging, popup boxes that show the string values some times have a box at the end. Does this indicate a null terminated ...more >>

Debug databinding possible?
Posted by Owin at 12/20/2004 2:56:12 PM
When loading an asp.net page and there's a late binding on a dropdownlist that doesn't contain the value it's wants to bind, an error: Specified argument was out of the range of valid values. Parameter name: value occurs. The exception does NOT state on wich control the binding fails. I ah...more >>

Many vs7jit.exe instances.... more than 25...
Posted by Tigrou at 12/20/2004 9:59:06 AM
Hi, I use Visual Studio .Net for coding ASP.Net applications (my workstation is running under Windows XP Pro SP2), and i do debug on a remote Windows Server 2003. All my application is stored on this same Windows Server 2003 (IIS 6.0). Sometimes when i do debug, on my remote debuging server...more >>

Unable to Debug: XP SP2 Problem, have tried all KB articles
Posted by Nick Sullivan at 12/20/2004 6:27:00 AM
After installing SP2 myself and another at work are unable to debug our web projects. However, those still using W2K boxes are able to debug just fine. We have followed all applicable steps in KB articles concerning Firewalls, DCOM priveledges, etc. but to no avail. The remote server is a W...more >>

Attaching debugger programatically
Posted by -bda- at 12/17/2004 2:17:01 AM
Hi, is it some possibility to choose program type which I want to debug when I'm attaching debugger automatically to process (from macro for example) ? I need to attach CLR debugger only - not CLR+Native. When I manually attach the CLR debugger, it works great, but I can't find the same possib...more >>

break point doesn't work
Posted by Irene at 12/16/2004 12:01:14 PM
Hi, When I was trying to debug one of my project today, the break point stopped working. It doesnt stop at the break point at runtime. Anyone knows why? How can I make it work again? Thanks much! Irene ...more >>

aspnet_wp process stops after each request
Posted by theyas NO[at]SPAM community.nospam at 12/15/2004 9:25:03 AM
Windows XP SP2, VS 2003, IIS 5.1, IE 6.0, Symantec AV 9.0.0.xxx I've been changing things around (and have re-installed IIS and VS 2003) and am now at the point where I have things working--except that I cannot debug IIS Server processes of ASP.NET anymore. When, in VS 2003, I select "Debug"...more >>

Error: Cannot obtain value - SOLUTION
Posted by Fredrik Melin at 12/14/2004 11:26:08 PM
I finally found the solution for this problem (at least in my case), Thanks to MS support. There was _one_ function with too many parameters. Stack pointer can only hold a so-so big value, so with all this parameters, it got too big. Now the tricky part, if you had a huge part of code, ...more >>

Error while debug starting
Posted by NetG at 12/13/2004 9:05:02 PM
Hello guys. When ever i try to debug an asp.net application it always throw an error "ERROR WHILE TRY TO RUN PROJECT. UNABLE TO START DEBUGING ON WEB SERVER. DEBUGING FAILED BECUSE INTEGRATED WINDOWS AUTHENTICATION IS NOT ENABLED." please tell me how can i remove this error and run my projec...more >>

mixed code debugging
Posted by Daryn Kiely at 12/10/2004 6:07:02 PM
I am running Visual Studio 2003 and have a project that has a managed application that uses a managed DLL that wraps an unmanaged DLL. I am trying to step into and set breakpoints in the unmanaged DLL but for some unknown reason cannot seem to do it. The breakpoints have the ? on them in the...more >>

Can't find aspnet_wp in list of processes.
Posted by theyas NO[at]SPAM community.nospam at 12/10/2004 10:01:02 AM
Windows XP SP2, VS 2003, IIS 5.1, IE 6.0, Symantec AV 9.0.0.xxx I've been changing things around (and have re-installed IIS and VS 2003) and am now at the point where I have things working--except that I cannot debug IIS Server processes of ASP.NET anymore. When, in VS 2003, I select "Debug"...more >>

"Cannot obtain value" while debugging in C#
Posted by Kurzweil at 12/9/2004 11:18:19 AM
While debugging in C# the watch does not show values any more. It just says "cannot obtain value" on all of my variables. This happens in different projects and on different variables. I have read about other people having this problem but can't find anything about it on msdn.microsoft.com. ...more >>

Mysterious Value Dissapears :(
Posted by Bilbao at 12/8/2004 8:47:05 AM
Hi, Last night (12/08/04) I modified a code (MFC & DirectX9) and after that, at a specific loop one of the values (a pointer) gets set to NULL: for (int iPaletteEntry = 0; iPaletteEntry < pMesh->m_dwNumPaletteEntries; ++iPaletteEntry) { iMatrixIndex = pAttributeTable[i].BoneId[iPaletteEnt...more >>

Cannot break on codelines in webservice
Posted by nospam NO[at]SPAM tgylnospam.no at 12/7/2004 2:29:07 PM
I am a novice on .net debugging. I run Visual Studio 2003 Enterprise Architect on windows xp. I have a webservice and a windows client in the same project on the same machine. The code is vb. The problem is that my breakpoints in the webservice are never hit. I cannot debug the webservice. B...more >>

Cannot attach debugger to a running service built with VS 6.0
Posted by Kevin D at 12/7/2004 2:25:04 PM
Having installed Visual Studio .NET, I can no longer debug a VS 6.0 application. From Task Manager, right click on the service and choose "debug" Windows first tries the .NET JIT debugger, that fails (see message below) and then tries the 6.0 debugger, but that complains about the command lin...more >>

Debugging Web app with non-default application pool identity does not work.
Posted by jahyen at 12/5/2004 5:08:12 PM
I'm having this problem with debugging an asp.net app If I change the application pool identity to a specific account (a domain user account) I cannot debug it. I get this message: "Error while trying to run project: Unable to start debugging on the web server. You do not have permissions...more >>

SQL Error Number: -2147219504
Posted by Bill R at 12/3/2004 12:37:03 PM
when executing objCmd.ExecuteNonQuery() Get a message: Error Number: -2147219504 Description: Error in executing stored Procedure. Insert Error: Column name or number of supplied values does not match table definition. I checked the stored procedure and every looks fine. Changed ...more >>

problem with VC++ debugging
Posted by Vincent Paul at 12/2/2004 6:49:06 AM
Hi All Im getting problem whilie debugging my MFC code in VC7.1 Editor in release mode with debug info, the debugger (cursor) does't pass through any newly added codes(skips the newly added code) , but the code gets excecuted with the assigned values. Plz help me out..in this regards V...more >>

can not debug ASP.NET Project
Posted by (trivedi_dhimant11 NO[at]SPAM rediffmail.com) at 12/1/2004 9:26:08 PM
I have a domain account and i am trying to run my project from the domain controller. When I try to debug the project the error message as follows appears. "Error While trying to run project: Unable to start degugging on web server. Catastrophic failure". I have done all the access permis...more >>

Non-Admin, ASP.NET, debug problem.
Posted by Claudio Pacciarini at 12/1/2004 7:31:01 AM
I log on to my machine as a normal, non-admin user. To debug ASP.NET applications, I need to be member of the administrators group. So I launch VS.NET as local administrator using runas. Everything works fine until I try to debug the ASP.NET app. The problem is that when I start debugging ...more >>


DevelopmentNow Blog